After upgrading from 6.x to 7.x "The current brand must have a recovery flow configured to use a recovery link" #14

Open
opened 2025-03-22 22:14:27 +00:00 by marlon · 5 comments
Owner

After upgrading an authentik instance from 6.11.0+2024.10.5 to versions after that (6.12.0+2024.12.3 or 7.0.1+2025.2.0), functions to reset a user's password like "Create Recovery Link" or "Email Recovery Link" fail, with the message "The current brand must have a recovery flow configured to use a recovery link"

Rolling back to 6.11.0+2024.10.5 fixes the problem.

After upgrading an authentik instance from 6.11.0+2024.10.5 to versions after that (6.12.0+2024.12.3 or 7.0.1+2025.2.0), functions to reset a user's password like "Create Recovery Link" or "Email Recovery Link" fail, with the message "The current brand must have a recovery flow configured to use a recovery link" Rolling back to 6.11.0+2024.10.5 fixes the problem.
Owner

Its a bug in authentik that is fixed in 2025.2.1. I updated the recipe to 2025.2.2, for me it works again.

Its a bug in authentik that is fixed in 2025.2.1. I updated the recipe to 2025.2.2, for me it works again.
iexos closed this issue 2025-03-23 11:10:24 +00:00
Author
Owner

Thanks for taking a look! But I still get the same bug after upgrading to the 7.0.2+2025.2.2 tag.
I've tested two deployments and get the same behavior on both...

Thanks for taking a look! But I still get the same bug after upgrading to the 7.0.2+2025.2.2 tag. I've tested two deployments and get the same behavior on both...
marlon reopened this issue 2025-03-24 04:08:53 +00:00
Author
Owner

Just updating this to note that 7.1.0+2025.2.4 has this problem too on all servers I've tested. Next I want to try deploying a fresh one to compare against, to understand if it's an upgrade path issue...

Just updating this to note that 7.1.0+2025.2.4 has this problem too on all servers I've tested. Next I want to try deploying a fresh one to compare against, to understand if it's an upgrade path issue...
Owner

I haven't dug deeper yet, but in this line

flow_recovery: !Find [authentik_flows.flow, [slug, default-recovery-flow]]
the recovery flow is set for the default brand. Did you changed or added any brand?

I haven't dug deeper yet, but in this line https://git.coopcloud.tech/coop-cloud/authentik/src/commit/efd67032cf378b5f51910083a049d4d667905acf/system_brand.yaml.tmpl#L34 the recovery flow is set for the default brand. Did you changed or added any brand?
Author
Owner

No, I didn't make any changes to brands. The only changes I made to the default deployment was creating users, groups, providers and apps.

When I look at the brand config, I see only one brand called authentik-default which is set as default, and which has Recovery Flow set to default-recovery-flow (Default recovery flow)
That all seems correct...

No, I didn't make any changes to brands. The only changes I made to the default deployment was creating users, groups, providers and apps. When I look at the brand config, I see only one brand called `authentik-default` which is set as default, and which has Recovery Flow set to `default-recovery-flow (Default recovery flow)` That all seems correct...
Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/authentik#14
No description provided.