Enable groups scope

This commit is contained in:
Phu Kieu 2016-11-18 13:13:32 -08:00
parent 04360fa354
commit 35180a72f1

View File

@ -110,7 +110,7 @@ func (s *Server) discoveryHandler() (http.HandlerFunc, error) {
Keys: s.absURL("/keys"), Keys: s.absURL("/keys"),
Subjects: []string{"public"}, Subjects: []string{"public"},
IDTokenAlgs: []string{string(jose.RS256)}, IDTokenAlgs: []string{string(jose.RS256)},
Scopes: []string{"openid", "email", "profile", "offline_access"}, Scopes: []string{"openid", "email", "groups", "profile", "offline_access"},
AuthMethods: []string{"client_secret_basic"}, AuthMethods: []string{"client_secret_basic"},
Claims: []string{ Claims: []string{
"aud", "email", "email_verified", "exp", "aud", "email", "email_verified", "exp",