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

flows: denied action #3194

Merged
merged 2 commits into from Jul 2, 2022
Merged

flows: denied action #3194

merged 2 commits into from Jul 2, 2022

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jul 2, 2022

configure the action when a flow is denied
related to #3175

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
@netlify
Copy link

netlify bot commented Jul 2, 2022

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit dac927e
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/62c06012037e2b00085ced25
😎 Deploy Preview https://deploy-preview-3194--authentik.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Jul 2, 2022

Codecov Report

Merging #3194 (dac927e) into main (a9636b5) will increase coverage by 0.03%.
The diff coverage is 93.55%.

@@            Coverage Diff             @@
##             main    #3194      +/-   ##
==========================================
+ Coverage   91.99%   92.01%   +0.03%     
==========================================
  Files         466      466              
  Lines       21142    21166      +24     
==========================================
+ Hits        19447    19474      +27     
+ Misses       1695     1692       -3     
Impacted Files Coverage Δ
authentik/flows/views/executor.py 82.92% <81.82%> (+0.25%) ⬆️
authentik/core/tests/utils.py 100.00% <100.00%> (ø)
authentik/flows/api/flows.py 67.88% <100.00%> (ø)
authentik/flows/models.py 98.25% <100.00%> (+2.28%) ⬆️
authentik/flows/tests/test_executor.py 100.00% <100.00%> (ø)
authentik/lib/utils/errors.py 100.00% <100.00%> (ø)
authentik/policies/api/policies.py 87.37% <0.00%> (-2.10%) ⬇️
authentik/flows/transfer/common.py 100.00% <0.00%> (ø)
authentik/core/api/users.py 92.77% <0.00%> (+0.19%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9636b5...dac927e. Read the comment docs.

self._logger.debug("f(exec): Redirecting to next on fail")
return redirect(self.request.GET.get(NEXT_ARG_NAME))
return to_stage_response(self.request, redirect(next_url))

Check warning

Code scanning / CodeQL

URL redirection from remote source

Untrusted URL redirection due to [A user-provided value](1).
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
@BeryJu BeryJu merged commit 17d33f4 into main Jul 2, 2022
@BeryJu BeryJu deleted the flows/skip-authenticated branch July 2, 2022 15:37
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.

None yet

1 participant