You want to identify authentication factors by name rather than the FACTOR/#### ID format in the /authenticate call's response payload. How do you retrieve the human-readable name of an attribute-based authentication factor?
Symantec Identity Security Platform - IDSP (formerly VIP Authentication Hub) 4.0.x
The /authenticate API response returns authentication factors in a FACTOR/#### format to maintain referential integrity. You cannot change this identifier format.
However, you can programmatically identify the name of each authentication factor by referencing the predicatesForCurrentFactors array found within the additional object of your JSON response.
You can access the attribute-based authentication factor name by following these steps:
additional object in your /authenticate API response payload.predicatesForCurrentFactors array.predicate attribute associated with your specific factor to retrieve its display name.Example Payload Structure In the response snippet below, you can map the factor (ID) to its corresponding predicate (Name):
By implementing this logic in your application's native client flow, you can display the correct factor name to your users or use it for your application's internal logging and troubleshooting.