Skip to content

Commit 3a1b915

Browse files
fix: dynamic client registration path in hydra docs (#854)
1 parent b52cf4f commit 3a1b915

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/hydra/guides/openid-connect-dynamic-client-registration.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ oidc:
2424
2525
Enabling this feature will add listeners to the following four routes at the public endpoint:
2626
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;
3131

3232
## Register OAuth2 & OpenID Connect Clients
3333

3434
If OpenID Connect Dynamic Client Registration is enabled, registering a new OAuth2 Client is as simple as:
3535

3636
```
37-
POST /openid/register
37+
POST /oauth2/register
3838
Content-Type: application/json
3939
4040
{
@@ -63,7 +63,7 @@ The `POST` endpoint requires the client to authenticate with the `registration_a
6363
`token_endpoint_auth_method`. It can be used to update the OAuth2 Client.
6464

6565
```
66-
PUT /openid/register/{client_id}
66+
PUT /oauth2/register/{client_id}
6767
Authorization: Bearer <registration_access_token>
6868
Content-Type: application/json
6969

@@ -95,7 +95,7 @@ The `GET` endpoint requires the client to authenticate with the `registration_ac
9595
`token_endpoint_auth_method`. It can be used to retrieve the OAuth2 Client.
9696
9797
```
98-
GET /openid/register/{client_id}
98+
GET /oauth2/register/{client_id}
9999
Authorization: Bearer <registration_access_token>
100100
Content-Type: application/json
101101

@@ -111,6 +111,6 @@ The `DELETE` endpoint requires the client to authenticate with the `registration
111111
`token_endpoint_auth_method`. It can be used to delete the OAuth2 Client.
112112
113113
```
114-
DELETE /openid/register/{client_id}
114+
DELETE /oauth2/register/{client_id}
115115
Authorization: Bearer <registration_access_token>
116116
```

0 commit comments

Comments
 (0)