Files
authentik/website/docs/troubleshooting/login.md
Teffen Ellis cf58c5617a core: Tidy contributor onboarding, fix typos. (#12700)
core: Tidy contributor onboarding.

- Fixes typos.
- Fixes stale links.
- Tidies Makefile so that Poetry env is optional for hygiene commands.
- Remove mismatched YAML naming.
- Uses shebang on Python scripts.
- Document semver usage.
- Redirect OpenAPI schema.

Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>
2025-03-06 18:34:54 +00:00

814 B

title
title
I can't log in to authentik

In case you can't login anymore, perhaps due to an incorrectly configured stage or a failed flow import, you can create a recovery key.

:::caution This recovery key will give whoever has the link direct access to your instances. Keep this key safe. :::

To create the key, run the following command:

docker compose run --rm server create_recovery_key 10 akadmin

For Kubernetes, run

kubectl exec -it deployment/authentik-worker -c worker -- ak create_recovery_key 10 akadmin

or, for CLI, run

poetry run ak create_recovery_key 10 akadmin

This will output a link, that can be used to instantly gain access to authentik as the user specified above. The link is valid for amount of years specified above, in this case, 10 years.