Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated token link not working #12112

Open
faustlod opened this issue Nov 21, 2024 · 1 comment
Open

Generated token link not working #12112

faustlod opened this issue Nov 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@faustlod
Copy link

faustlod commented Nov 21, 2024

Describe the bug
In case of a misconfigured login flow, token-based authentication may be necessary, which begins with generating a token. The process for this can be found on Authentik's official website under the Troubleshooting section titled "I can't log in to authentik": https://docs.goauthentik.io/docs/troubleshooting/login.

I chose to use the CLI method and successfully generated the token. However, there is no detailed documentation on how to use it. All I received was the following message:

"Store this link safely, as it will allow anyone to access authentik as #user.
/recovery/use-token/#verylongtoken"

To Reproduce
Steps to reproduce the behavior:

  1. Log into the CLI: Access the Authentik server's command line interface.

  2. Run the following command: ak create_recovery_key X #user (Replace X with the number of years the token should remain active, Replace #user with the username of the affected user for whom you want to generate the token.)

  3. Use the generated link: Attempt to use the provided link to access the recovery process. For example, I tried: https://mydomain.tld/recovery/use-token/#verylongtoken This resulted in a "not found" error message.

Expected behavior
Gain access to the Authentik admin interface by bypassing the faulty login flow using the recovery token.

Version and Deployment (please complete the following information):

  • authentik version: [2024.10.2]
  • Deployment: docker-compose

Additional context
Add any other context about the problem here.

@faustlod faustlod added the bug Something isn't working label Nov 21, 2024
@faustlod faustlod changed the title Gernerated token link not working Generated token link not working Nov 21, 2024
@Morfeosh
Copy link

Same here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants