Image description
Image description
Image description
For more details about the basic authentication calls for RSA SecurID software or hardware tokens, see article 000035143 - How to set up the REST RSA SecurID Authentication API for Authentication Manager 8.2 SP1.
The first call is to initialize. Use Initialize with SubjectCredentials.
POST: https://<AM_FQDN>:5555/mfa/v1_1/authn/initialize
client-key: Access-key
content-type: application/json
{
"clientId": "<Agent_Name>",
"subjectName": "<USERID>",
"subjectCredentials": [
{
"methodId": "SECURID",
"collectedInputs": [
{
"name": "SECURID",
"value": "<ODA_PIN>"
}
]
}
],
"context": {
"authnAttemptId": "",
"messageId": "test5213021196242",
"inResponseTo": ""
}
}
{
"context": {
"authnAttemptId": "651ee05a-f573-458b-afde-81b08cde3c84",
"messageId": "19ee0265-5180-44c4-82d6-230fab13d0c9",
"inResponseTo": "test5213021196242"
},
"credentialValidationResults": [
{
"methodId": "SECURID",
"methodResponseCode": "SUCCESS",
"methodReasonCode": null,
"authnAttributes": []
}
],
"attemptResponseCode": "CHALLENGE",
"attemptReasonCode": "AUTHENTICATION_REQUIRED",
"challengeMethods": {
"challenges": [
{
"methodSetId": null,
"requiredMethods": [
{
"methodId": "SECURID_NEXT_TOKENCODE",
"priority": null,
"versions": [
{
"versionId": "1.0.0",
"methodAttributes": [],
"valueRequired": true,
"referenceId": null,
"prompt": {
"promptResourceId": "SecurID.Resource.Prompt.Next.Tokencode",
"defaultText": "Enter next token code:",
"formatRegex": null,
"defaultValue": null,
"valueBeingDefined": false,
"sensitive": true,
"minLength": null,
"maxLength": null,
"promptArgs": []
}
}
]
}
]
}
]
}
}
Make note of the Attempt ID and Message ID in the response to use when verifying the call.
POST: https://<AM_FQDN>:5555/mfa/v1_1/authn/verify
client-key: Access-key
content-type: application/json
{
"clientId": "<Agent_Name>",
"subjectName": "<USERID>",
"subjectCredentials": [
{
"methodId": "SECURID_NEXT_TOKENCODE",
"collectedInputs": [
{
"name": "SECURID_NEXT_TOKENCODE",
"value": "ODA_RECEIVED"
}
]
}
],
"context": {
"authnAttemptId": "<Attempt ID from the previous response>",
"messageId": "test5213021196242",
"inResponseTo": "<MessageID from the previous response>"
}
}
The methodID and name that is changed in the verify request to SECURID_NEXT_TOKENCODE received from the previous response.