summaryrefslogtreecommitdiff
path: root/internal/oidc/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oidc/const.go')
-rw-r--r--internal/oidc/const.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/oidc/const.go b/internal/oidc/const.go
index ed5e7837e..fc0338207 100644
--- a/internal/oidc/const.go
+++ b/internal/oidc/const.go
@@ -12,6 +12,8 @@ const (
ScopeProfile = "profile"
ScopeEmail = "email"
ScopeGroups = "groups"
+
+ ScopeAutheliaBearerAuthz = "authelia.bearer.authz"
)
// Registered Claim strings. See https://www.iana.org/assignments/jwt/jwt.xhtml.
@@ -353,3 +355,10 @@ const (
const (
durationZero = time.Duration(0)
)
+
+const (
+ fieldRFC6750Error = "error"
+ fieldRFC6750ErrorDescription = "error_description"
+ fieldRFC6750Realm = "realm"
+ fieldRFC6750Scope = valueScope
+)