summaryrefslogtreecommitdiff
path: root/internal/handlers/const.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2021-07-10 14:56:33 +1000
committerGitHub <noreply@github.com>2021-07-10 14:56:33 +1000
commit143db66445ddaa32dffa0a2dce6c55034524928c (patch)
treec3cd516c3a9ac9d35d263cab4455d1158bb29e46 /internal/handlers/const.go
parentd2422e9965aaf04cceb3830c65b531024ba996f5 (diff)
feat(oidc): userinfo endpoint (#2146)
This is a required endpoint for OIDC and is one we missed in our initial implementation. Also adds some rudamentary documentaiton about the implemented endpoints.
Diffstat (limited to 'internal/handlers/const.go')
-rw-r--r--internal/handlers/const.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/handlers/const.go b/internal/handlers/const.go
index c24f066cb..8d3ec9fc4 100644
--- a/internal/handlers/const.go
+++ b/internal/handlers/const.go
@@ -68,6 +68,7 @@ const (
oidcTokenPath = "/api/oidc/token" //nolint:gosec // This is not a hard coded credential, it's a path.
oidcIntrospectPath = "/api/oidc/introspect"
oidcRevokePath = "/api/oidc/revoke"
+ oidcUserinfoPath = "/api/oidc/userinfo"
// Note: If you change this const you must also do so in the frontend at web/src/services/Api.ts.
oidcConsentPath = "/api/oidc/consent"