@@ -24,17 +24,17 @@ oidc:
24
24
25
25
Enabling this feature will add listeners to the following four routes at the public endpoint:
26
26
27
- - ` POST /openid /register` - Register a new OAuth2 Client;
28
- - ` GET /openid /register/<client_id>` - Fetch the OAuth2 Client;
29
- - ` PUT /openid /register/<client_id>` - Update the OAuth2 Client;
30
- - ` DELETE /openid /register/<client_id>` - Delete the OAuth2 Client;
27
+ - ` POST /oauth2 /register` - Register a new OAuth2 Client;
28
+ - ` GET /oauth2 /register/<client_id>` - Fetch the OAuth2 Client;
29
+ - ` PUT /oauth2 /register/<client_id>` - Update the OAuth2 Client;
30
+ - ` DELETE /oauth2 /register/<client_id>` - Delete the OAuth2 Client;
31
31
32
32
# # Register OAuth2 & OpenID Connect Clients
33
33
34
34
If OpenID Connect Dynamic Client Registration is enabled, registering a new OAuth2 Client is as simple as :
35
35
36
36
` ` `
37
- POST /openid /register
37
+ POST /oauth2 /register
38
38
Content-Type: application/json
39
39
40
40
{
@@ -63,7 +63,7 @@ The `POST` endpoint requires the client to authenticate with the `registration_a
63
63
` token_endpoint_auth_method` . It can be used to update the OAuth2 Client.
64
64
65
65
```
66
- PUT /openid /register/{ client_id }
66
+ PUT /oauth2 /register/{ client_id }
67
67
Authorization: Bearer <registration_access_token >
68
68
Content-Type: application/json
69
69
@@ -95,7 +95,7 @@ The `GET` endpoint requires the client to authenticate with the `registration_ac
95
95
`token_endpoint_auth_method`. It can be used to retrieve the OAuth2 Client.
96
96
97
97
```
98
- GET /openid /register/{ client_id }
98
+ GET /oauth2 /register/{ client_id }
99
99
Authorization: Bearer <registration_access_token >
100
100
Content-Type: application/json
101
101
@@ -111,6 +111,6 @@ The `DELETE` endpoint requires the client to authenticate with the `registration
111
111
`token_endpoint_auth_method`. It can be used to delete the OAuth2 Client.
112
112
113
113
```
114
- DELETE /openid /register/{ client_id }
114
+ DELETE /oauth2 /register/{ client_id }
115
115
Authorization: Bearer <registration_access_token >
116
116
```
0 commit comments