mirror of
https://github.com/goauthentik/authentik
synced 2026-04-26 01:25:02 +02:00
website/docs: add info about make install and recovery key (#20447)
* add info about make install and recovery key * fix formatting on troubleshooting tip * Apply suggestion from @dominic-r Signed-off-by: Dominic R <dominic@sdko.org> * tweak to bump * tweak * tweaked words abouot make install per jens * build --------- Signed-off-by: Dominic R <dominic@sdko.org> Co-authored-by: Dominic R <dominic@sdko.org> Co-authored-by: Marcelo Elizeche Landó <marcelo@goauthentik.io>
This commit is contained in:
@@ -126,7 +126,7 @@ make migrate
|
||||
```
|
||||
|
||||
:::info
|
||||
If you ever want to start over, use `make dev-reset` which drops and restores the authentik PostgreSQL database to the state after `make migrate`.
|
||||
If you ever want to start over, use `make dev-reset` which drops and restores the authentik PostgreSQL database to the state it was after you ran after `make migrate`.
|
||||
:::
|
||||
|
||||
## 5. Running authentik
|
||||
@@ -174,6 +174,18 @@ make web-watch
|
||||
|
||||
When `AUTHENTIK_DEBUG` is set to `true` (the default for the development environment), the authentik server automatically reloads whenever changes are made to the code. However, due to instabilities in the reloading process of the worker, that behavior is turned off for the worker. You can enable code reloading in the worker by manually running `uv run ak worker --watch`.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Recovery key
|
||||
|
||||
If you can't login anymore or the authentication flow repeats (perhaps due to an incorrectly configured stage or a failed flow import), you can create a recovery key by running this command in your terminal:
|
||||
|
||||
`uv run ak create_recovery_key 10 akadmin`
|
||||
|
||||
Copy the generated recovery key and paste it into the URL, after the domain. For example:
|
||||
|
||||
`http://localhost:9000/recovery/use-token/ChFk2nJKJKJKY9OdIc8yv6RCgpGYp5rdndBhR6qHoHoJoWDdlvLuvU/`
|
||||
|
||||
## End-to-End (E2E) Setup
|
||||
|
||||
Start the E2E test services with the following command:
|
||||
|
||||
Reference in New Issue
Block a user