Skip to content
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

Add support to read custom fields of OAuth2 introspection response #16

Closed
ldclakmal opened this issue Oct 14, 2020 · 0 comments · Fixed by ballerina-platform/module-ballerina-oauth2#49
Assignees
Labels
Area/Security Issues related to stdlib security module/oauth2 Type/Improvement Verson/SwanLakeDump All issues planned for Swan Lake GA release

Comments

@ldclakmal
Copy link
Member

Description:
Need to support the extraction of custom fields of OAuth2 introspection response [1]. This was addressed for 1.2.x branch with the PR [2].

Sample response:

     HTTP/1.1 200 OK
     Content-Type: application/json

     {
      "active": true,
      "client_id": "l238j323ds-23ij4",
      "username": "jdoe",
      "scope": "read write dolphin",
      "sub": "Z5O3upPC88QrAjx00dis",
      "aud": "https://protected.example.net/resource",
      "iss": "https://server.example.com/",
      "exp": 1419356238,
      "iat": 1419350238,
      "extension_field": "twenty-seven"
     }

[1] https://tools.ietf.org/html/rfc7662#section-2.2
[2] ballerina-platform/ballerina-lang#26335

@ldclakmal ldclakmal self-assigned this Oct 14, 2020
@ldclakmal ldclakmal transferred this issue from ballerina-platform/module-ballerina-oauth2 Oct 22, 2020
@ldclakmal ldclakmal added the Verson/SwanLakeDump All issues planned for Swan Lake GA release label Dec 9, 2020
@ldclakmal ldclakmal added this to the Swan Lake - Alpha milestone Dec 9, 2020
@ldclakmal ldclakmal added the Area/Security Issues related to stdlib security label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Security Issues related to stdlib security module/oauth2 Type/Improvement Verson/SwanLakeDump All issues planned for Swan Lake GA release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant