fixes for token endpoint
This commit is contained in:
parent
20a90c71d9
commit
a21f6745f7
12 changed files with 192 additions and 146 deletions
|
@ -110,10 +110,10 @@ func SubjectTypes(c Configuration) []string {
|
|||
|
||||
func AuthMethods(c Configuration) []string {
|
||||
authMethods := []string{
|
||||
AuthMethodBasic,
|
||||
string(AuthMethodBasic),
|
||||
}
|
||||
if c.AuthMethodPostSupported() {
|
||||
authMethods = append(authMethods, AuthMethodPost)
|
||||
authMethods = append(authMethods, string(AuthMethodPost))
|
||||
}
|
||||
return authMethods
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue