stages/user_login: stay logged in (#4958)
* add initial remember me offset Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add to go executor Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add ui for user login stage Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -36,7 +36,7 @@ Flows are designated for a single purpose. This designation changes when a flow
|
||||
|
||||
This is designates a flow to be used for authentication.
|
||||
|
||||
The authentication flow should always contain a [**User Login**](stages/user_login.md) stage, which attaches the staged user to the current session.
|
||||
The authentication flow should always contain a [**User Login**](stages/user_login/index.md) stage, which attaches the staged user to the current session.
|
||||
|
||||
#### Invalidation
|
||||
|
||||
|
@ -26,6 +26,12 @@ You can set the session to expire after any duration using the syntax of `hours=
|
||||
|
||||
All values accept floating-point values.
|
||||
|
||||
## Stay signed in offset
|
||||
|
||||
When this is set to a higher value than the default _seconds=0_, a prompt is shown, allowing the users to choose if their session should be extended or not. The same syntax as for _Session duration_ applies.
|
||||
|
||||

|
||||
|
||||
## Terminate other sessions
|
||||
|
||||
When enabled, previous sessions of the user logging in will be revoked. This has no affect on OAuth refresh tokens.
|
BIN
website/docs/flow/stages/user_login/stay_signed_in.png
Normal file
BIN
website/docs/flow/stages/user_login/stay_signed_in.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
@ -2,4 +2,4 @@
|
||||
title: User logout stage
|
||||
---
|
||||
|
||||
Opposite stage of [User Login Stages](user_login.md). It removes the user from the current session.
|
||||
Opposite stage of [User Login Stages](user_login/index.md). It removes the user from the current session.
|
||||
|
@ -89,7 +89,7 @@ The following stages are supported:
|
||||
SMS-based authenticators are not supported as they require a code to be sent from authentik, which is not possible during the bind.
|
||||
|
||||
- [User Logout](../../flow/stages/user_logout.md)
|
||||
- [User Login](../../flow/stages/user_login.md)
|
||||
- [User Login](../../flow/stages/user_login/index.md)
|
||||
- [Deny](../../flow/stages/deny.md)
|
||||
|
||||
#### Direct bind
|
||||
|
Reference in New Issue
Block a user