2604dc14fe
* add code support for ldap provider Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * only try to extract code when auth validator stage is encountered Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * use parseint instead Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
18 lines
501 B
Go
18 lines
501 B
Go
package flow
|
|
|
|
type StageComponent string
|
|
|
|
const (
|
|
StageIdentification = StageComponent("ak-stage-identification")
|
|
StagePassword = StageComponent("ak-stage-password")
|
|
StageAuthenticatorValidate = StageComponent("ak-stage-authenticator-validate")
|
|
StageAccessDenied = StageComponent("ak-stage-access-denied")
|
|
)
|
|
|
|
const (
|
|
HeaderAuthentikRemoteIP = "X-authentik-remote-ip"
|
|
HeaderAuthentikOutpostToken = "X-authentik-outpost-token"
|
|
)
|
|
|
|
const CodePasswordSeparator = ";"
|