File: discovery.rst

package info (click to toggle)
python-authlib 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: python: 26,998; makefile: 53; sh: 14
file content (77 lines) | stat: -rw-r--r-- 2,783 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
OpenID Connect Discovery
========================

This section is about OpenID Provider Discovery. OpenID Providers have metadata describing their configuration.
The endpoint is usually located at::

    /.well-known/openid-configuration

The metadata is formatted in JSON. Here is an example of how it looks like:

.. code-block:: http

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
     "issuer":
       "https://server.example.com",
     "authorization_endpoint":
       "https://server.example.com/connect/authorize",
     "token_endpoint":
       "https://server.example.com/connect/token",
     "token_endpoint_auth_methods_supported":
       ["client_secret_basic", "private_key_jwt"],
     "token_endpoint_auth_signing_alg_values_supported":
       ["RS256", "ES256"],
     "userinfo_endpoint":
       "https://server.example.com/connect/userinfo",
     "check_session_iframe":
       "https://server.example.com/connect/check_session",
     "end_session_endpoint":
       "https://server.example.com/connect/end_session",
     "jwks_uri":
       "https://server.example.com/jwks.json",
     "registration_endpoint":
       "https://server.example.com/connect/register",
     "scopes_supported":
       ["openid", "profile", "email", "address",
        "phone", "offline_access"],
     "response_types_supported":
       ["code", "code id_token", "id_token", "token id_token"],
     "acr_values_supported":
       ["urn:mace:incommon:iap:silver",
        "urn:mace:incommon:iap:bronze"],
     "subject_types_supported":
       ["public", "pairwise"],
     "userinfo_signing_alg_values_supported":
       ["RS256", "ES256", "HS256"],
     "userinfo_encryption_alg_values_supported":
       ["RSA1_5", "A128KW"],
     "userinfo_encryption_enc_values_supported":
       ["A128CBC-HS256", "A128GCM"],
     "id_token_signing_alg_values_supported":
       ["RS256", "ES256", "HS256"],
     "id_token_encryption_alg_values_supported":
       ["RSA1_5", "A128KW"],
     "id_token_encryption_enc_values_supported":
       ["A128CBC-HS256", "A128GCM"],
     "request_object_signing_alg_values_supported":
       ["none", "RS256", "ES256"],
     "display_values_supported":
       ["page", "popup"],
     "claim_types_supported":
       ["normal", "distributed"],
     "claims_supported":
       ["sub", "iss", "auth_time", "acr",
        "name", "given_name", "family_name", "nickname",
        "profile", "picture", "website",
        "email", "email_verified", "locale", "zoneinfo",
        "http://example.info/claims/groups"],
     "claims_parameter_supported":
       true,
     "service_documentation":
       "http://server.example.com/connect/service_documentation.html",
     "ui_locales_supported":
       ["en-US", "en-GB", "en-CA", "fr-FR", "fr-CA"]
    }