Nonce process flow
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Platform Security
When a customer has implemented the digested token Single Sign-on and wishes to add the security of a nonce, they follow a certain process flow.
- A user logs into the customer's portal.
- The customer generates the required SSO parameters and appends a random nonce to the end. For example, if the customer were forwarding the authentication response via the query string, it may look something like this:
The instance receives this request and retrieves the authentication variables. Before
attempting to verify the integrity of the authentication response, the instance checks the nonce
against an internal table (u_authentication_nonce) to verify that it does not yet exist. If the
nonce does not exist within that table, the nonce is then added to the table and the
authentication process is allowed to continue. However, if that nonce value already exists within
the table, the authentication attempt is cancelled and an error code of
failed_missing_requirement
is returned, which typically takes the user back to
the login page.