Skip to content

Commit

Permalink
BED-5178 fix: OIDC default scopes (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistahj67 authored Dec 24, 2024
1 parent 348c669 commit d4d10bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/api/src/api/v2/auth/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (s ManagementResource) OIDCLoginHandler(response http.ResponseWriter, reque
ClientID: ssoProvider.OIDCProvider.ClientID,
Endpoint: provider.Endpoint(),
RedirectURL: getRedirectURL(request, ssoProvider),
Scopes: []string{"openid", "profile", "email", "email_verified", "name", "given_name", "family_name"},
Scopes: []string{"openid", "profile", "email"},
}

// use PKCE to protect against CSRF attacks
Expand Down

0 comments on commit d4d10bf

Please sign in to comment.