Add all supported scopes from discovery doc (#9015)

Fixes #9010
This commit is contained in:
Harshavardhana
2020-02-21 08:06:05 +05:30
committed by GitHub
parent 8fb37a8417
commit 852fb320f7
6 changed files with 40 additions and 39 deletions

View File

@@ -157,7 +157,7 @@ func main() {
TokenURL: ddoc.TokenEndpoint,
},
RedirectURL: fmt.Sprintf("http://localhost:%d/oauth2/callback", port),
Scopes: []string{"openid"},
Scopes: ddoc.ScopesSupported,
}
state := randomState()