Gyan Deepak Dubey
Gyan Deepak Dubey

Reputation: 51

How to get a JWT token from openAM

We would like to get a JWT access token. Indeed, when I call /openam/oauth2/access_token the default behavior of open am is to deliver an access_token that looks like “aaaaa-bbbb-ccccc-ddddd”

Thanks Gyan

Upvotes: 2

Views: 3412

Answers (1)

Peter Major
Peter Major

Reputation: 2995

OpenAM by default issues stateful OAuth2 access tokens, where the format of the access token is essentially UUID.

In order to issue OAuth2 access tokens in JWT format you must turn on the Stateless OAuth2 feature in the OAuth2 provider settings (only supported since 13.5.0).

Upvotes: 4

Related Questions