When using JWT, the app should check the validity using JWKS
Reference
Generate Token
Use this endpoint to generate a JWT. Send the clientId that you would like a JWT for.
The retrieved JWT looks like the example below. The audience must match the clientId.
{
session: { user: { id: 123 }, customer: { id: 456 } },
iat: 1736800727,
iss: 'https://auth.admiralcloud.com',
aud: '123456-dfe3-494b-9300-12345678',
exp: 1736804327,
sub: '123'
}
Check Token
Check an existing JW Token.