You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the actual behavior?
Upon encountering an issue, the system currently redirects users to '/' without displaying any error message.
Expected Behavior
What is the behavior you expect?
The expected behavior is to display an error message in JSON format when using Lexik. Specifically, while the success_handler (lexik_jwt_authentication.handler.authentication_success) functions correctly, the failure_handler (lexik_jwt_authentication.handler.authentication_failure) fails to override the default behavior.
The text was updated successfully, but these errors were encountered:
aynaitlamine
changed the title
I can't override failure_handler
Failure handler not overriding
May 22, 2024
Actual Behavior
What is the actual behavior?
Upon encountering an issue, the system currently redirects users to '/' without displaying any error message.
Expected Behavior
What is the behavior you expect?
The expected behavior is to display an error message in JSON format when using Lexik. Specifically, while the success_handler (lexik_jwt_authentication.handler.authentication_success) functions correctly, the failure_handler (lexik_jwt_authentication.handler.authentication_failure) fails to override the default behavior.
The text was updated successfully, but these errors were encountered: