@@ -24,6 +24,33 @@ const (
2424 // ScopeOpenID is the mandatory scope for all OpenID Connect OAuth2 requests.
2525 ScopeOpenID = "openid"
2626
27+ // ScopeProfile is an optional [scope value] defined by OpenID Connect for requesting
28+ // access to the End-User's default profile Claims, which are:
29+ // name, family_name, given_name, middle_name, nickname, preferred_username,
30+ // profile, picture, website, gender, birthdate, zoneinfo, locale, and updated_at.
31+ //
32+ // [scope value]: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
33+ ScopeProfile = "profile"
34+
35+ // ScopeProfile is an optional [scope value] defined by OpenID Connect for requesting
36+ // access to the email and email_verified Claims.
37+ //
38+ // [scope value]: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
39+ ScopeEmail = "email"
40+
41+ // ScopeProfile is an optional [scope value] defined by OpenID Connect for requesting
42+ // access to the [address Claim].
43+ //
44+ // [scope value]: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
45+ // [address Claim]: https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim
46+ ScopeAddress = "address"
47+
48+ // ScopeProfile is an optional [scope value] defined by OpenID Connect for requesting
49+ // access to the phone_number and phone_number_verified Claims.
50+ //
51+ // [scope value]: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
52+ ScopePhone = "phone"
53+
2754 // ScopeOfflineAccess is an optional scope defined by OpenID Connect for requesting
2855 // OAuth2 refresh tokens.
2956 //
0 commit comments