add new docker provider oauth scope

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
Marcos Lilljedahl
2023-12-13 12:09:59 -03:00
parent 2fd85f21b9
commit 4c099ab398
2 changed files with 2 additions and 1 deletions

View File

@@ -276,7 +276,7 @@ func initOauthProviders(p *types.Playground) {
conf := &oauth2.Config{
ClientID: p.DockerClientID,
ClientSecret: p.DockerClientSecret,
Scopes: []string{"openid"},
Scopes: []string{"openid", "full_access:account"},
Endpoint: oauth2.Endpoint{
AuthURL: fmt.Sprintf("https://%s/authorize/", endpoint),
TokenURL: fmt.Sprintf("https://%s/oauth/token", endpoint),