When running VIP Authentication Hub, and passing an ExistingIDToken (JWT token signed with a certificate) to the Authenticate API, then, the VIP Authentication Hub API returns PASSWORD_AUTH, instead of AUTH_ALLOWED.
POST https://{{sspHost}}/{{apiPathTenant}}/auth/v1/authenticate
{
"existingIDToken":"euJ0 [...omitted for brevity...]",
Body
{
"nextaction": "PASSWORD_AUTH",
The JWT has:
HEADER
{
"typ": "JWT",
"alg": "RS256"
}
PAYLOAD:DATA
{
"sub": "<user>",
"idp_name": "<idpname>",
"user_universalid": "<user>",
"amr": [
"PWD"
],
"iss": "https://api.example.com",
"exp": <exp_number>
}
VIP Authentication Hub 2.2.5;
Some mandatory headers and claims are missing from the JWT.
Mandatory claims are:
Add the mandatory claims and headers to the JSON token to solve the issue.