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

Add 400 error status to exception handling in mfa/FIDO2.complete_reg #85

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

Conversation

41WhiteElephants
Copy link

Proof of concept, for testing purpose I added some random bytes to request body to check if exception handling is returning properly 400 status code
and then for the same reason I removes fido_state from request.session dict to test if the first exception handling returning 400 status code.

Screenshot from 2024-01-23 13-39-11
Screenshot from 2024-01-23 13-38-55
Screenshot from 2024-01-23 13-15-30
Screenshot from 2024-01-23 13-15-10

@41WhiteElephants
Copy link
Author

I found more missing status=400 places in code, will update the pull request soon

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.

2 participants