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

Send optional parameters to introspection endpoint #164

Merged
merged 1 commit into from
Jan 16, 2021

Conversation

ldclakmal
Copy link
Member

Purpose

This PR support to add optional/custom parameters in OAuth2 introspection request.

Example: Support to add optional parameters like client_id and client_certificate_thumbprint

POST /oauth2/introspect 
HTTP/1.1Host: www.sample.com
Content-Type: application/x-www-form-urlencoded

Authorization: Basic some-token

client_id="some-value"&client_certificate_thumbprint=another-value&token=sample-token&token_type_hint=access_token

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

Fixes ballerina-platform/ballerina-library#23

Related to ballerina-platform/ballerina-library#584

@ldclakmal ldclakmal merged commit 5e403dc 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.

Add support to add optional parameters in OAuth2 introspection request
2 participants