From 35180a72f1e908787fafc53260397a1fdb3725ce Mon Sep 17 00:00:00 2001
From: Phu Kieu <pskieu@gmail.com>
Date: Fri, 18 Nov 2016 13:13:32 -0800
Subject: [PATCH] Enable groups scope

---
 server/handlers.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/handlers.go b/server/handlers.go
index 5bb5e904..4fba9304 100644
--- a/server/handlers.go
+++ b/server/handlers.go
@@ -110,7 +110,7 @@ func (s *Server) discoveryHandler() (http.HandlerFunc, error) {
 		Keys:        s.absURL("/keys"),
 		Subjects:    []string{"public"},
 		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"},
 		Claims: []string{
 			"aud", "email", "email_verified", "exp",