summaryrefslogtreecommitdiff
path: root/internal/handlers/const.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2022-07-26 15:43:39 +1000
committerGitHub <noreply@github.com>2022-07-26 15:43:39 +1000
commitb2cbcf3913c1a322ab85af9567938fc0356acba8 (patch)
treee4c3329b9b06be38e38110c20319571db2098653 /internal/handlers/const.go
parentefe1facc353e8edb359e9591706d72b26d0943c9 (diff)
fix(handlers): consent session prevents standard flow (#3668)
This fixes an issue where consent sessions prevent the standard workflow.
Diffstat (limited to 'internal/handlers/const.go')
-rw-r--r--internal/handlers/const.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/handlers/const.go b/internal/handlers/const.go
index a43fa75b9..f2514a080 100644
--- a/internal/handlers/const.go
+++ b/internal/handlers/const.go
@@ -48,6 +48,10 @@ const (
)
const (
+ workflowOpenIDConnect = "openid_connect"
+)
+
+const (
logFmtErrParseRequestBody = "Failed to parse %s request body: %+v"
logFmtErrWriteResponseBody = "Failed to write %s response body for user '%s': %+v"
logFmtErrRegulationFail = "Failed to perform %s authentication regulation for user '%s': %+v"
@@ -72,11 +76,6 @@ const (
auth = "auth"
)
-const (
- accept = "accept"
- reject = "reject"
-)
-
const authPrefix = "Basic "
const ldapPasswordComplexityCode = "0000052D."