fix: update MFA endpoints from /otp/ to /challenge/ for WebToApp#67
Closed
mquandalle wants to merge 1 commit intoazerpas:mainfrom
Closed
fix: update MFA endpoints from /otp/ to /challenge/ for WebToApp#67mquandalle wants to merge 1 commit intoazerpas:mainfrom
mquandalle wants to merge 1 commit intoazerpas:mainfrom
Conversation
Boursorama API has changed the MFA workflow: - WebToApp now uses /session/challenge/ instead of /session/otp/ - Added Content-Type header to MFA request POST - Updated regex to match both otp and challenge paths - Added new api_path() method to MfaType enum Fixes azerpas#61 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Owner
|
Awesome work thanks a lot @mquandalle! I've also tackled the issue for the past two evenings, and came up with something pretty similar to this and the handling of the additional QR code verification. Let me merge my code to yours in the coming days and I'll merge this :) EDIT: and thanks @claude! |
This was referenced Jan 7, 2026
Owner
|
Merged the other PR, but made sure to add you as contributor. Thanks again! |
Contributor
Author
|
Didn't do much here, just prompted claude code but I was pleased to see it work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My dear friend @claude one-shoted this, I confirmed that it works with my account
Summary
/session/challenge/endpoint for WebToApp (instead of/session/otp/)Content-Type: application/jsonheader to MFA request POSTotpandchallengepaths for backward compatibilityChanges
api_path()method toMfaTypeenum:"otp"for Email/SMS"challenge"for WebToApprequest_mfaandsubmit_mfaContext
The Boursorama API has changed the MFA workflow. WebToApp MFA now uses
/session/challenge/startwebtoappinstead of/session/otp/startwebtoapp.Fixes #61
🤖 Generated with Claude Code