wso2 / docs-is

Apache License 2.0
63 stars 306 forks source link

[Doc] SupportedTokenTypes configuration missing - IS 5.9.0 #1140

Open mifrazmurthaja opened 4 years ago

mifrazmurthaja commented 4 years ago

I've created an issue on the same at https://github.com/wso2/product-is/issues/7525 and it needs to be updated in the doc as well. There should be a configuration to define SupportedTokenTypes in the deployment.toml of IS 5.9.0 similar to the IS 550 Doc. The same configuration is also mentioned at https://docs.wso2.com/display/IS550/Configuring+OAuth2-OpenID+Connect+Single-Sign-On#ConfiguringOAuth2-OpenIDConnectSingle-Sign-On-tokenIssuer Thanks

nilasini commented 4 years ago

The missing template has been fixed with [1]. Now we can configure supported token types through deployment.toml file as follows.

[[oauth.extensions.token_types]]
name = "tokenType1"
issuer = "org.wso2.carbon.identity.oauth2.token.OauthTokenIssuerImpl"
persist_access_token_alias = true

[[oauth.extensions.token_types]]
name = "tokenType2"
issuer = "org.wso2.carbon.identity.oauth2.token.OauthTokenIssuerImpl"
persist_access_token_alias = true

We should add this to IS-5.9.0 doc and IS-5.10.0 doc

[1]https://github.com/wso2/carbon-identity-framework/pull/2741