mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00

see https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims Signed-off-by: Michael Mayer <michael@photoprism.app>
13 lines
429 B
Go
13 lines
429 B
Go
package authn
|
|
|
|
// OpenID Connect (OIDC) scope and claim identifiers:
|
|
// https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
|
|
const (
|
|
OidcClaimPreferredUsername = "preferred_username"
|
|
OidcClaimEmail = "email"
|
|
OidcClaimName = "name"
|
|
OidcClaimNickname = "nickname"
|
|
OidcRequiredScopes = "openid email profile"
|
|
OidcDefaultScopes = "openid email profile address"
|
|
)
|