Files
authentik/website/docs/troubleshooting/login.md
Jens L b4a3b266b3 website/docs: clarify troubleshooting headlines and order (#5696)
* website/docs: clarify troubleshooting headlines and order

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

* Update website/docs/troubleshooting/login.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Jens L. <jens@beryju.org>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens L. <jens@beryju.org>
Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
2023-05-19 15:54:04 +02:00

734 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

or, for Kubernetes, run

kubectl exec -it deployment/authentik-worker -c authentik -- 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.