Skip to content

Conversation

@ashok672
Copy link
Contributor

@ashok672 ashok672 commented Jan 9, 2026

Implements support for OAuth 2.0 response_mode=form_post in the system browser authentication flow, aligning with modern OAuth 2.0 best practices (RFC 6749).

@ashok672 ashok672 requested a review from a team as a code owner January 9, 2026 02:35
parsed_url = urlparse(self.path)
qs = parse_qs(parsed_url.query)

if qs.get('code'): # Auth code via GET is a security risk - reject it

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about having a grace period that both GET and POST are supported? Otherwise if an app can't just switch to form post it'll be stuck with an older version of MSAL

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.

3 participants