mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
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>
814 B
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.