-
-
Notifications
You must be signed in to change notification settings - Fork 122
Client Discovery
nov edited this page Jan 6, 2015
·
1 revision
Since OpenID Connect Discovery is OPTIONAL feature, not all OPs are supporting it.
Basically, Discovery is needed for OPs which support Dynamic Registration. However, I know no OPs supporting Dynamic Registration.
Some OPs are supporting Discovery without supporting Dynamic Registration, but I don't think RPs "need" to discover OP config for such OPs. Almost all RPs won't need this feature currently.
result = OpenIDConnect::Discovery::Provider.discover! url_host_or_email
# => WebFinger::Response (extending OpenIDConnect::Discovery::Provider::Issuer)
issuer = result.issuer
OpenIDConnect::Discovery::Provider::Config.discover! issuer
# => OpenIDConnect::Discovery::Provider::Config::Response