Skip to content

flow: fix regression in flow planner#12591

Closed
ht-danielgo wants to merge 1 commit intogoauthentik:mainfrom
ht-danielgo:12445
Closed

flow: fix regression in flow planner#12591
ht-danielgo wants to merge 1 commit intogoauthentik:mainfrom
ht-danielgo:12445

Conversation

@ht-danielgo
Copy link

Details

I believe that during this commit
ff504a3#diff-a5c56bb7c60e27dda1b131b3fc2a17e3af6624e7cfaaa2337ec6b077ca489f34R245 the flow planner regressed, meaning that the authentication requirements are evaluated sometimes unnecessarily

This manifested in #12445 which seems to be occurring when the recovery flow has an Unauthenticated requirement and you try to generate a link via the Admin console, which sends a context user.

closes #12445


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

@ht-danielgo ht-danielgo requested a review from a team as a code owner January 8, 2025 02:15
@netlify
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit de51732
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/677ddfb426ec43000864b67d

@netlify
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit de51732
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/677ddfb41a319e0008f60842

@gergosimonyi
Copy link
Collaborator

#12445 was fixed via other means.

Thank you for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression 2024.12 breaks recovery flow

2 participants