Skip to content

Commit 5aef6df

Browse files
committed
Added more metadata.
1 parent 38d2b88 commit 5aef6df

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

models/oauth2_application.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ func (grant *OAuth2Grant) TableName() string {
394394
return "oauth2_grant"
395395
}
396396

397-
// GenerateNewAuthorizationCode generates a new authorization code for a grant and saves it to the databse
397+
// GenerateNewAuthorizationCode generates a new authorization code for a grant and saves it to the database
398398
func (grant *OAuth2Grant) GenerateNewAuthorizationCode(redirectURI, codeChallenge, codeChallengeMethod string) (*OAuth2AuthorizationCode, error) {
399399
return grant.generateNewAuthorizationCode(x, redirectURI, codeChallenge, codeChallengeMethod)
400400
}

templates/user/auth/oidc_wellknown.tmpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,13 @@
2727
"updated_at",
2828
"email",
2929
"email_verified"
30+
],
31+
"code_challenge_methods_supported": [
32+
"plain",
33+
"S256"
34+
],
35+
"grant_types_supported": [
36+
"authorization_code",
37+
"refresh_token"
3038
]
3139
}

0 commit comments

Comments
 (0)