Utsav
Utsav

Reputation: 1603

json web token support in WSO2 identity server

Hi I am new bee to WS02 identity server and I just want to know that is there any support for Json Web Token (JWT) in the WSO2 identity manager. Is there any possibility by which we can convert SAML2.0 tokens to JWT(Json Web Token)?

Upvotes: 1

Views: 1243

Answers (1)

SureshAtt
SureshAtt

Reputation: 1951

Yes, we use JWTs in three occasions.

  1. We return a JWT with user claims at the OAuth 2.0 token validation endpoint.
  2. We return a JWT when using OpenID Connect, this is the OpenID Connect IDToken.
  3. We can return a JWT as the user info endpoint response in OpenID Connect. But by default we return a JSON instead a JWT.

Yes, you can present a SAML 2.0 token to the IS and get its claims over the ID Token. But this is valid only for the OAuth SAML 2.0 Grant Type.

Upvotes: 1

Related Questions