Skip to content

Conversation

@fengga
Copy link
Contributor

@fengga fengga commented Feb 10, 2025

Fixes #5061 #5061

Changes proposed in this request

MSAL .NET is converting "openid%20profile%20offline_access" to "openid+profile+offline_access"

Partner prefers the original format since: "Some third party Identity Providers [namely Broadcom Siteminder] do NOT allow the usage of "+" to represent a space in URLs, in particular to separate scopes in the "authorize" endpoint."

“+” is defined in rfc1866 https://www.rfc-editor.org/rfc/rfc1866.txt made in 1995:
7.5. Queries and Indexes
The keywords are escaped according to [URL] and joined
by `+'.

rfc1866 is obsoleted by rfc2854 https://www.rfc-editor.org/rfc/rfc2854.txt made in 2000, while rfc2854 does not suggest using "+"

Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@fengga fengga requested a review from a team as a code owner February 10, 2025 21:57
Copy link
Contributor

@gladjohn gladjohn left a comment

Choose a reason for hiding this comment

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

Thanks for addressing all the comments @fengga. Looks good. 🚢

@fengga fengga merged commit dbbda87 into main Feb 11, 2025
6 checks passed
@fengga fengga deleted the fengga/fix-5061 branch February 11, 2025 23:42
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.

[Bug] The use of "+" instead of "%20" in URLs is not supported by some third party IDPs

4 participants