Files
authentik/website/docs/troubleshooting/login.md
rickra 1d5d096ffc website/docs: use default container name from helm chart in recovery documentation for kubernetes (#10919)
* use default container name from helm chart

the default name for the worker container is worker and not authentik.
see https://github.com/goauthentik/helm/blob/main/charts/authentik/values.yaml#L603

Signed-off-by: rickra <richardkraus98@pm.me>

* fix container name everywhere

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: rickra <richardkraus98@pm.me>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2024-08-15 14:56:52 +02:00

803 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

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.