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

[IS-7.0 Migration] Add migration docs for token type handling in custom token issuers #21794

Closed
KD23243 opened this issue Nov 22, 2024 · 0 comments

Comments

@KD23243
Copy link
Contributor

KD23243 commented Nov 22, 2024

Is your suggestion related to an experience ? Please describe.
The migration documents needs to account for changes introduced in token type handling and token renewal processes for custom token issuers.

Describe the improvement

  • Remove references to the type = "jwt" in the Deployment.toml configuration previously used for specifying token types, as it is no longer required.

    [[oauth.extensions.token_types]]
    name = "CustomTokenIssuer"
    type = "jwt"
    issuer = "org.wso2.carbon.identity.extensions.CustomJWTTokenIssuer"
    persist_access_token_alias = true
    
  • Emphasize that custom JWT token issuers that do not extend the JWTTokenIssuer class must override the new getAccessTokenType() method to specify the token type explicitly.

  • Provide a guideline for implementations of the OauthTokenIssuer interface to override the getAccessTokenType() method for compatibility.

Additional context

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

No branches or pull requests

1 participant