How OpenID Connect Discovery works
masterOpenID Connect Discovery allows the gem to automatically fetch configuration from the provider.
- Set
discovery: truein your provider configuration. - The gem will attempt to find the configuration via the provider's Webfinger endpoint or the
issuerURL. - If using
issuer, the gem fetches configuration from[issuer]/.well-known/openid-configuration.
When discovery is used, manual settings for authorization_endpoint, token_endpoint, userinfo_endpoint, jwks_uri, and end_session_endpoint are replaced by the discovered values.