website/docs: add additional docs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-12-23 18:51:18 +01:00
parent e7e0e6d213
commit 2520c92b78
6 changed files with 31 additions and 4 deletions

View File

@ -5,3 +5,19 @@ title: User login stage
This stage attaches a currently pending user to the current session.
It can be used after `user_write` during an enrollment flow, or after a `password` stage during an authentication flow.
## Session duration
By default, the authentik session expires when you close your browser (*seconds=0*).
You can set the session to expire after any duration using the syntax of `hours=1,minutes=2,seconds=3`. The following keys are allowed:
- Microseconds
- Milliseconds
- Seconds
- Minutes
- Hours
- Days
- Weeks
All values accept floating-point values.

View File

@ -3,3 +3,5 @@ title: User write stage
---
This stages writes data from the current context to the current pending user. If no user is pending, a new one is created.
Newly created users can be created as inactive and can be assigned to a selected group.