Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support to send custom parameters to introspection endpoint #53

Merged
merged 1 commit into from
Jan 16, 2021

Conversation

ldclakmal
Copy link
Member

Purpose

This PR supports to send custom parameters to introspection endpoint. Those parameters can be given during provider initialization or at the time of authorize API call .

RFC: https://tools.ietf.org/html/rfc7662#section-2.1

The introspection endpoint MAY accept other OPTIONAL parameters to
   provide further context to the query.  For instance, an authorization
   server may desire to know the IP address of the client accessing the
   protected resource to determine if the correct client is likely to be
   presenting the token.  The definition of this or any other parameters
   are outside the scope of this specification, to be defined by service
   documentation or extensions to this specification.

Related to ballerina-platform/ballerina-library#23
Related to ballerina-platform/ballerina-library#584

@ldclakmal ldclakmal merged commit 825eb62 into ballerina-platform:master Jan 16, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants