Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
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.
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 theDeployment.toml
configuration previously used for specifying token types, as it is no longer required.JWTTokenIssuer
class must override the newgetAccessTokenType()
method to specify the token type explicitly.OauthTokenIssuer
interface to override thegetAccessTokenType()
method for compatibility.Additional context