...
ES256 signing algorithm + above attributes + signature of them must be served in JWT format (rfc7519), see below:
...
{
"sub" : "das-api-auth" ,
"cts" : "OAUTH2_STATELESS_GRANT" ,
"auditTrackingId" : "142b3081-d3c7-422c-b8d4-65869065f348-54991" ,
"iss" : "https://logindev.wipo.int:443/am/oauth2" ,
"tokenName" : "access_token" ,
"token_type" : "Bearer" ,
"authGrantId" : "nJ8nhylC8Kx9DY8l2SHlopwCfbg" ,
"aud" : "das-api-auth" ,
"nbf" : 1622454953,
"grant_type" : "client_credentials" ,
"scope" : [
"das-api/das-access"
],
"auth_time" : 1622454953,
"realm" : "/" ,
"exp" : 1622458553,
"iat" : 1622454953,
"expires_in" : 3600,
"jti" : "roG8mqa8Z1Z3F00Md20vUoyhA0I"
}
|