main
1
2#### GET http://localhost:5000/.well-known/oauth-authorization-server
3
4Example curl request:
5
6```bash
7$ curl http://localhost:5000/.well-known/oauth-authorization-server \
8 -X GET \
9 -d '' \
10 -H "Accept: application/json" \
11 -H "Content-Type: application/json" \
12 -H "User-Agent: net/hippie 0.1.9" \
13 -H "Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
14```
15Request:
16```text
17Accept: application/json
18Content-Type: application/json
19User-Agent: net/hippie 0.1.9
20Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21```
22```json
23
24```
25Response:
26```text
27200 OK
28
29Content-Type: application/json; charset=utf-8
30Etag: W/"7f1eee6ebfc3008c58d630548ed1707c"
31Cache-Control: max-age=0, private, must-revalidate
32X-Request-Id: 54c2fecc-7fc7-47b9-880e-a2953ad1e4c3
33Transfer-Encoding: chunked
34```
35```json
36{
37 "issuer": "http://localhost:5000/",
38 "authorization_endpoint": "http://localhost:5000/oauth/authorizations",
39 "token_endpoint": "http://localhost:5000/oauth/tokens",
40 "token_endpoint_auth_methods_supported": [
41 "client_secret_basic"
42 ],
43 "token_endpoint_auth_signing_alg_values_supported": [
44 "RS256"
45 ],
46 "userinfo_endpoint": "http://localhost:5000/oauth/me",
47 "jwks_uri": "",
48 "registration_endpoint": "http://localhost:5000/oauth/clients",
49 "scopes_supported": [
50
51 ],
52 "response_types_supported": [
53 "code",
54 "token"
55 ],
56 "service_documentation": "http://localhost:5000/doc",
57 "ui_locales_supported": [
58 "en",
59 "es",
60 "fr",
61 "ja",
62 "ko"
63 ]
64}
65```
66