Documentation

Player Authentication JWKS API

Version: v1

Player Authentication JWKS API

Version: v1

Player Authentication JWKS API

Introduction

Get the JSON Web Key Set (JWKS) for verifying the ID tokens that Unity Authentication issues to players.
Download OpenAPI specification:

Get JWKS


Get the JSON Web Key Set for validating authentication tokens.

HTTP response status codes for "Get JWKS":

Code samples for "Get JWKS":

Request example

curl -X GET \ "https://player-auth.services.api.unity.com/.well-known/jwks.json"

Response example

{ "keys": [ { "alg": "RS256", "e": "43urutru", "kid": "public-0000000-0000-0000-0000-111111111111", "kty": "RSA", "n": "igu4jtou4389ru34890ut90i34r0-i39w4ru90u", "crv": "string", "x": "string", "y": "string", "use": "sig" } ]}