Files
elasticsearch-js/docs/reference/api/SecurityOidcAuthenticateRequest.md
2025-05-28 10:02:30 -05:00

1.5 KiB

SecurityOidcAuthenticateRequest [interface-SecurityOidcAuthenticateRequest]

Name Type Description
body string ({ [key: string]: any; } & { nonce?: never; realm?: never; redirect_uri?: never; state?: never; })
nonce string Associate a client session with an ID token and mitigate replay attacks. This value needs to be the same as the one that was provided to the /_security/oidc/prepare API or the one that was generated by Elasticsearch and included in the response to that call.
querystring { [key: string]: any; } & { nonce?: never; realm?: never; redirect_uri?: never; state?: never; } All values in querystring will be added to the request querystring.
realm string The name of the OpenID Connect realm. This property is useful in cases where multiple realms are defined.
redirect_uri string The URL to which the OpenID Connect Provider redirected the User Agent in response to an authentication request after a successful authentication. This URL must be provided as-is (URL encoded), taken from the body of the response or as the value of a location header in the response from the OpenID Connect Provider.
state string Maintain state between the authentication request and the response. This value needs to be the same as the one that was provided to the /_security/oidc/prepare API or the one that was generated by Elasticsearch and included in the response to that call.