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

Fix login and unified signin templates to send CSRF tokens. #825

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

jwag956
Copy link
Collaborator

@jwag956 jwag956 commented Jul 26, 2023

Add additional tests.

The oauthstart view needs to be decorated with @unauth_csrf.

Turn on complete CSRF support in view_scaffold since we really don't test CSRF enough.

Add additional tests.

The oauthstart view needs to be decorated with @unauth_csrf.

Turn on complete CSRF support in view_scaffold since we really don't test CSRF enough.
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a6d57f5) 98.15% compared to head (af984aa) 98.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #825   +/-   ##
=======================================
  Coverage   98.15%   98.15%           
=======================================
  Files          34       34           
  Lines        4453     4455    +2     
=======================================
+ Hits         4371     4373    +2     
  Misses         82       82           
Files Changed Coverage Δ
flask_security/oauth_glue.py 98.86% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jwag956 jwag956 merged commit d7f68ba into master Jul 26, 2023
15 checks passed
@jwag956 jwag956 deleted the csrftest branch July 26, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant