The OpenID Connect Discovery specification defines a Discovery Mechanism for an OpenID Connect Relying Party to discover the Resource Owner's Identity Provider (IDP) and obtain information needed to interact with the Identity Provider (IDP), including its OAuth 2.0 Endpoint locations.
OpenID Connect Discovery consists of two primary Discovery Mechanisms: