Skip to content

Preview an issuer's OpenID configuration

POST
/api/v1/tenants/{tenantId}/identity/discovery-preview
curl --request POST \
--url https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/identity/discovery-preview \
--header 'Content-Type: application/json' \
--data '{ "issuer": "example" }'

Fetches the issuer’s discovery document and shows what it publishes, before anything is saved: a mistyped issuer that happens to resolve is obvious next to the endpoints it produced.

tenantId
required
string format: uuid
Media typeapplication/json
object
issuer
required
string

Example generated

{
"issuer": "example"
}

OK

Media type*/*
object
issuer
required
string
authorizationEndpoint
required
string
tokenEndpoint
required
string
userInfoEndpoint
string | null
jwksUri
string | null