Browse Source

Merge pull request #1951 from flant/update-descovery-endpoint-info

fix: update auth methods and claims from discovery endpoint
pull/1957/head
Márk Sági-Kazár 5 years ago committed by GitHub
parent
commit
7cf43fdc7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      server/handlers.go

6
server/handlers.go

@ -184,10 +184,10 @@ func (s *Server) discoveryHandler() (http.HandlerFunc, error) {
IDTokenAlgs: []string{string(jose.RS256)},
CodeChallengeAlgs: []string{CodeChallengeMethodS256, CodeChallengeMethodPlain},
Scopes: []string{"openid", "email", "groups", "profile", "offline_access"},
AuthMethods: []string{"client_secret_basic"},
AuthMethods: []string{"client_secret_basic", "client_secret_post"},
Claims: []string{
"aud", "email", "email_verified", "exp",
"iat", "iss", "locale", "name", "sub",
"iss", "sub", "aud", "iat", "exp", "email", "email_verified",
"locale", "name", "preferred_username", "at_hash",
},
}

Loading…
Cancel
Save