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

Unable to revoke tokens when Multiple Active Access Tokens are enabled #3472

Open
charithjayasanka opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@charithjayasanka
Copy link

Description

Unable to revoke tokens when Multiple Active Access Tokens are enabled as described in [1].

Expected behavior:
The token binding validation should succeed, and the userinfo API (or any other API) should function correctly. A separate token binder should be implemented if there is a valid requirement to validate the request binding type.

https://apim.docs.wso2.com/en/3.2.0/learn/api-security/oauth2/multiple-active-access-tokens/#jwt

Steps to Reproduce

How to reproduce:

  1. Add the configuration below.
[oauth.jwt.renew_token_without_revoking_existing]
enable = true
allowed_grant_types = ["client_credentials", "authorization_code"]
  1. Enable "Validate token binding" on the service provider configurations.
  2. Obtain an access token using authorization_code grant type and invoke userinfo endpoint using the obtained access token.
    It will return the following error.
{
    "error_description": "Valid token binding value not present in the request.",
    "error": "invalid_request"
}

Version

3.2.1

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant