Skip to content

Regression 2024.12 breaks recovery flow #12445

@spacemule

Description

@spacemule

Describe the bug
Since upgrading to 2024.12, I am unable to create recovery links or send recovery emails. The endpoints

https://authentik.spacemule.net/api/v3/core/users/XX/recovery/
https://authentik.spacemule.net/api/v3/core/users/XX/recovery_email/?email_stage=XXXXX

return 400 with the following error:

Recovery flow not applicable to user

In the UI, there is a message that no recovery flow is set for the brand only when using the create recovery link button.

My brand does have a recovery flow set. I have tried unsetting and resetting it, but the behavior persists.

To Reproduce

  1. Go to Directory->Users->Specific user
  2. Click on "Create Recovery Link" or "Email recovery link" and choose an email stage
  3. See error

Expected behavior
The email should send, or the link should be copied to the keyboard

Logs
I could not find any relevant ones

Version and Deployment (please complete the following information):

  • authentik version: 2024.12
  • Deployment: helm

Additional context
When reverting to version 2024.10.5, authentik acts as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions