Method: getSessionCookiePublicKeys

Retrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through createSessionCookie.

HTTP request

GET https://identitytoolkit.googleapis.com/v1/sessionCookiePublicKeys

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

Response message for v1.getSessionCookiePublicKeys.

If successful, the response body contains data with the following structure:

JSON representation
{
  "keys": [
    {
      object (OpenIdConnectKey)
    }
  ]
}
Fields
keys[]

object (OpenIdConnectKey)

Public keys of the session cookie signer, formatted as JSON Web Keys (JWK).

OpenIdConnectKey

Represents a public key of the session cookie signer, formatted as a JSON Web Key (JWK).

JSON representation
{
  "kty": string,
  "alg": string,
  "use": string,
  "kid": string,
  "n": string,
  "e": string
}
Fields
kty

string

Key type.

alg

string

Signature algorithm.

use

string

Key use.

kid

string

Unique string to identify this key.

n

string

Modulus for the RSA public key, it is represented as the base64url encoding of the value's big endian representation.

e

string

Exponent for the RSA public key, it is represented as the base64url encoding of the value's big endian representation.