Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Messages in authorizeUserUsing method #107

Open
javier-villatoro opened this issue Jul 9, 2024 · 1 comment
Open

Custom Messages in authorizeUserUsing method #107

javier-villatoro opened this issue Jul 9, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@javier-villatoro
Copy link

I have a working SSO integration, and I would like to add functionality to inform users why they are not allowed to log in. From the authorizeUserUsing method, I can utilize Filament notifications to display specific messages to the user. However, the default user-not-allowed message continues to appear.

I would like to request the ability to customize or temporarily hide the default user-not-allowed message when I show a custom notification. The default message is still useful for other error scenarios, so I prefer not to disable it entirely.

At the moment, I don't see a way to accomplish this from the published files in my project, and I believe this feature would add more flexibility to the authorizeUserUsing method.

Thanks

@dododedodonl dododedodonl added the enhancement New feature or request label Jul 10, 2024
@dododedodonl
Copy link
Member

At this moment, you can publish the language files and change the message. We would accept a PR that allows for more customization of the message, or disable it entirely.

@dododedodonl dododedodonl added the help wanted Extra attention is needed label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants