Skip to content
Snippets Groups Projects
Commit 235ae9c3 authored by Eric Chiang's avatar Eric Chiang
Browse files

server: update discovery to include offline_access scope

parent 1396bdc1
No related branches found
No related tags found
No related merge requests found
...@@ -82,10 +82,10 @@ func (s *Server) handleDiscovery(w http.ResponseWriter, r *http.Request) { ...@@ -82,10 +82,10 @@ func (s *Server) handleDiscovery(w http.ResponseWriter, r *http.Request) {
ResponseTypes: []string{"code"}, ResponseTypes: []string{"code"},
Subjects: []string{"public"}, Subjects: []string{"public"},
IDTokenAlgs: []string{string(jose.RS256)}, IDTokenAlgs: []string{string(jose.RS256)},
Scopes: []string{"openid", "email", "profile"}, Scopes: []string{"openid", "email", "profile", "offline_access"},
AuthMethods: []string{"client_secret_basic"}, AuthMethods: []string{"client_secret_basic"},
Claims: []string{ Claims: []string{
"aud", "email", "email_verified", "exp", "family_name", "given_name", "aud", "email", "email_verified", "exp",
"iat", "iss", "locale", "name", "sub", "iat", "iss", "locale", "name", "sub",
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment