Ory.Api.Wellknown (ory_client v1.1.23)

API calls for all endpoints tagged Wellknown.

Link to this section Summary

Functions

Discover Well-Known JSON Web Keys This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like node-jwks-rsa among others.

Link to this section Functions

Link to this function

discover_json_web_keys(connection, opts \\ [])

@spec discover_json_web_keys(
  Tesla.Env.client(),
  keyword()
) ::
  {:ok, Ory.Model.ErrorOAuth2.t()}
  | {:ok, Ory.Model.JsonWebKeySet.t()}
  | {:error, Tesla.Env.t()}

Discover Well-Known JSON Web Keys This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like node-jwks-rsa among others.

parameters

Parameters

  • connection (Ory.Connection): Connection to server
  • opts (keyword): Optional parameters

returns

Returns

  • {:ok, Ory.Model.JsonWebKeySet.t} on success
  • {:error, Tesla.Env.t} on failure