Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit54497f4

Browse files
authored
chore: add revocation endpoint to oauth well-known (#20561)
Was added to apps endpoints, but not the wider site ones. This is a sitewide oauth route
1 parent9629d87 commit54497f4

File tree

7 files changed

+12
-0
lines changed

7 files changed

+12
-0
lines changed

‎coderd/apidoc/docs.go‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/oauth2provider/metadata.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func GetAuthorizationServerMetadata(accessURL *url.URL) http.HandlerFunc {
1818
AuthorizationEndpoint:accessURL.JoinPath("/oauth2/authorize").String(),
1919
TokenEndpoint:accessURL.JoinPath("/oauth2/tokens").String(),
2020
RegistrationEndpoint:accessURL.JoinPath("/oauth2/register").String(),// RFC 7591
21+
RevocationEndpoint:accessURL.JoinPath("/oauth2/revoke").String(),// RFC 7009
2122
ResponseTypesSupported: []string{"code"},
2223
GrantTypesSupported: []string{"authorization_code","refresh_token"},
2324
CodeChallengeMethodsSupported: []string{"S256"},

‎codersdk/oauth2.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ type OAuth2AuthorizationServerMetadata struct {
262262
AuthorizationEndpointstring`json:"authorization_endpoint"`
263263
TokenEndpointstring`json:"token_endpoint"`
264264
RegistrationEndpointstring`json:"registration_endpoint,omitempty"`
265+
RevocationEndpointstring`json:"revocation_endpoint,omitempty"`
265266
ResponseTypesSupported []string`json:"response_types_supported"`
266267
GrantTypesSupported []string`json:"grant_types_supported"`
267268
CodeChallengeMethodsSupported []string`json:"code_challenge_methods_supported"`

‎docs/reference/api/enterprise.md‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/reference/api/schemas.md‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/api/typesGenerated.ts‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp