Skip to content

buildDiscoveryUrl

buildDiscoveryUrl(issuer): string

Defined in: packages/core/src/discovery.ts:15

Constructs the well-known OpenID Provider Configuration URL for the given issuer.

Trailing slashes on the issuer are stripped before appending the well-known path.

string

The OpenID Provider issuer identifier (e.g. https://accounts.example.com).

string

The full /.well-known/openid-configuration URL.

OpenID Connect Discovery 1.0 §4.1 — OpenID Provider Configuration Request