AEM OOTB Oauth Set up JWT Token Generation
Hi,
As part of Oauth implementation, we have to generate JWT token based on some parameters;
Header
{
"alg": "RS256",
"typ": "JWT"
}
Payload
{
"aud": "<Token Endpoint>",
"iss": "<Client Id>",
"sub": "<user name>",
"exp": <Current time in Milliseconds+expiry>,
"iat": <Current time in Milliseconds>,
"scope": "<scope>",
"cty": "code"
}
Here Apart from AUD and ISS value, rest data, if we give dummy value also its generating access token from JWT. And eventhough it have expiry time, JWT token is not expiring.
Do you have any idea why AEM will not look for "exp" and "iat" values we are giving to generate JWT ?
