-
-
Notifications
You must be signed in to change notification settings - Fork 470
Open
Description
Is there a mechanism to send to the redirect_uri some custom query parameters in case of error?
(I'm talking about https://localhost:8080/oauth2/authorize/decision endpoint)
Expected behavior
In case there is an error on
server.grant(oauth2orize.grant.code((client, redirectUri, user, ares, done) => {...});
it should call the redirect_uri with an error description as a query parameter.
Actual behavior
Instead, a json response containing the error description is returned.
{"error":"server_error","error_description":"The database service encountered an unexpected error."}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels