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
Since the $error content is assigned instead of the $errorDescription, it is impossible to retrieve a custom reason that was specified when denying access.
How can we reproduce this issue?
Add a listener to the AuthenticationFailed event and dd($event->getException()->getMessage()); within the handle method.
Deny access (with a custom reason) in an action and link the action to the login flow.
Try to login, the access denial is hit as expected, but the error description is not the one that is expected. Instead, access_denied: access_denied is output.
Additional context
No response
The text was updated successfully, but these errors were encountered:
SDK Version
7.0
PHP Version
PHP 8.1
Composer Version
2.x
What happened?
In the
Callback
controller, there seems to be some undesired (or unexpected) behavior regarding the error description.See the following code (line 43):
Since the
$error
content is assigned instead of the$errorDescription
, it is impossible to retrieve a custom reason that was specified when denying access.How can we reproduce this issue?
AuthenticationFailed
event anddd($event->getException()->getMessage());
within thehandle
method.access_denied: access_denied
is output.Additional context
No response
The text was updated successfully, but these errors were encountered: