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

flow: fix regression in flow planner #12591

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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

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

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