-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Allow Token Introspection to be customized #630
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
Conversation
|
Hi @jgrandja This is my first time contributing. Please let me know the changes required. I will do them right away. |
|
Apologies @gourav, as I have led you down the wrong path with my comment:
There are 2 changes that are required.
|
|
Hi @jgrandja. I am pretty sure that I did not understand your comment properly. So, no apologies required. :) |
|
Hi @jgrandja What would the hook be customising as I believe all configuration is already present in the context ? |
Please ignore my comment regarding
There are use cases where an application needs to customize the request and/or response for a specific protocol flow. For example, an application may want to add a custom parameter in the access token response. How would they do that? They would supply a custom The same applies for the token request. For example, a custom parameter may be needed and therefore the application can supply We need the same customization capabilities for token introspection. For example, an application may not want to return all the claims in Please review the code for |
|
Hi @jgrandja |
|
Apologies for the delay @gourav. I've been quite busy with some priority tasks for the I came back to this yesterday and there were quite a few changes still needed before we can merge. Please review all the changes and let me know if you have any questions. Thanks. |
|
Changes seem good to me. :) |
Closes gh-493