-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Return all parameters for non authorization-code flow requests #800
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
Comments
Related gh-159 |
If you're looking to log additional information when a client authentication fails, then you have access to all the parameters via the Does this work for you? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Expected Behavior
Returned tokens, such as
OAuth2AuthorizationCodeAuthenticationToken
, should include the same data in the additional parameters field asOAuth2ClientAuthenticationToken
.Current Behavior
Currently, for non authorization-code flow requests, additional parameters get removed and an empty map is returned
Context
In the failure case, we would like to log all non-user identifying information, such as
grant_type
andscopes
to make de-bugging easier. Currently, as a workaround, we are fetching this data from our implementation of theOAuth2AuthorizationService
. This gives us what we want, but is some additional work and could slow the process down.The text was updated successfully, but these errors were encountered: