Skip to main content

How to discover Oauth Endpoints

You can have access to all available Oauth endpoints by the following links :

For staging environment : https://oauth2.sandbox.bouyguestelecom.fr/ap4/.well-known/openid-configuration

For production environment  : https://oauth2.bouyguestelecom.fr/.well-known/openid-configuration

You will received a JSON response (ex. for staging environment)

{""issuer": "https://oauth2.sandbox.bouyguestelecom.fr/ap4",
  "authorization_endpoint": "https://oauth2.sandbox.bouyguestelecom.fr/ap4/authorize",
  "token_endpoint": "https://oauth2.sandbox.bouyguestelecom.fr/ap4/token",
  "userinfo_endpoint": "https://oauth2.sandbox.bouyguestelecom.fr/ap4/userinfo",
  "revocation_endpoint": "https://oauth2.sandbox.bouyguestelecom.fr/ap4/revoke",
  "jwks_uri": "https://oauth2.sandbox.bouyguestelecom.fr/ap4/jwks.json",
  "end_session_endpoint": "https://www.mon-compte.sandbox.bouyguestelecom.fr/ap4/cas/logout",
  "response_types_supported": [
    "code",
    "id_token",
    "code id_token",
    "token id_token",
    "token"
  ],
  "response_modes_supported": ["query", "fragment"],
  "subject_types_supported": ["public"],
  "id_token_signing_alg_values_supported": ["RS256"],
  "scopes_supported": ["openid", "profile", "email", "identifiers", "roles"],
  "claims_supported": [
    "sub",
    "aud",
    "iss",
    "iat",
    "auth_time",
    "exp",
    "login",
    "name",
    "family_name",
    "given_name",
    "email",
    "user_type",
    "login_type",
    "roles"
  ]
}

 

About OpenId Connect

OpenID Connect (OIDC) is an identity layer built on top of the OAuth 2.0 protocol and supported by some OAuth 2.0 providers [...]. OpenID Connect defines a discovery mechanism, called OpenID Connect Discovery, where an OpenID server publishes its metadata at a well-known URL, typically https://server.com/.well-known/openid-configuration

 

     
        © Copyright Bouygues Telecom 2023. All rights reserved.