Skip to content

OpenID Connect payload fields

Kelvin Mo edited this page Apr 9, 2018 · 1 revision

OpenID Connect payload fields

In a number of OAuth-related cache types, additional parameters can be specified using the server_payload and token_payload fields. In SimpleID's implementation of OpenID Connect, these are used to store additional information required by the protocol. This page sets out these additional fields.

server_payload

Key Value
client_id The client_id of the client who made the request
consents An array of scope values requested by the client to which the user has given consent
redirect_uri The redirect_uri of the client who made the request
request The OpenID connect request
require_auth_time True if auth_time is required to be included in the authentication response
session_state A hash of the current PHP session ID, for use in OpenID Connect session management

token_payload

Key Value
id_token The OpenID Connect ID token to be returned at the token endpoint