Contents

Obtaining a server nonce

Request and process a server nonce to verify communication and detect replays.

Overview

The login request, refresh request, and key requests use the server nonce so the identity provider (IdP) can verify it’s communicating to a live client. The IdP can also use the server nonce for replay detection.

Create the server nonce network request

The following table specifies the header parameters that the system uses to create a server nonce request:

Key

Value

Notes

grant_type

srv_challenge

Required.

Customnoncerequestvalues

Optional. If present, adds the key value pairs to the request.

client-request-id

UUID

Required. A unique identifier for the request.

The server nonce request is an HTTP POST to the login configuration nonceEndpointURL, as shown in the following example:

POST /oauth2/token HTTP/1.1
Host: auth.example.com
Accept: application/json
Content-Type: application/x-www-form-urlencoded
client-request-id: DCAB01D3-B1FE-4E1C-802F-B3EBDCDF9E67
grant_type=srv_challenge

Receive the server nonce network response

If the http status is 200, the response body loads as JSON. If the body is valid JSON, the system pulls the server nonce from the response using the login configuration nonceResponseKeypath or the default value Nonce.

Platform SSO doesn’t validate the token and treats it as an opaque value.

See Also

Pre-login