Repository navigation
providers/saml: skip empty authorization flows for saml providers - #25417
Conversation
✅ Deploy Preview for authentik-storybook ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #25417 +/- ##
==========================================
- Coverage 93.78% 93.77% -0.01%
==========================================
Files 1262 1262
Lines 91440 91680 +240
Branches 5752 5752
==========================================
+ Hits 85754 85972 +218
- Misses 5600 5622 +22
Partials 86 86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
Besides the review fixes, I also fixed two CI failures the PR already had, in dc44013 and e19aa1f: the generated TypeScript client now matches the generator's output, and the test file is formatted with black. And I merged |
7b581a3 to
85f9c6d
Compare
|
🍒 Cherry-pick to |
Summary
Skip flow execution for SAML providers whose authorization flow has no configured stages.
Empty authorization flows now return the SAML POST or Redirect response directly. Providers with configured authorization stages continue through the normal flow executor.
When continuous login is enabled:
Testing
Added backend coverage for empty and configured authorization flows, including POST, Redirect, and continuous login scenarios. Added frontend coverage for continuous login tab-lock behavior.
Linked issues
Closes #24878
Checklist
make all)make docs)