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: Ignore extra parameters on UserInfo + test #469

Conversation

Azaferany
Copy link

Ignore extra parameters on UserInfo + test
base on #255

@leastprivilege leastprivilege self-assigned this Sep 13, 2022
@josephdecock josephdecock linked an issue Feb 2, 2024 that may be closed by this pull request
clone.ClientSecret = string.Empty;
clone.ClientAssertion = new ClientAssertion();
clone.Parameters = new Parameters();

clone.Method = HttpMethod.Get;
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like the real issue is that the method is always a GET even if there is content in the form of client auth or other parameters. I think it is probably confusing to discard those extra parameters, and so if we want that to not be allowed at all, then it should be an explicit error, and the fundamental problem is the fact that it is always a GET. (Spec does allow POST).

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.

Some parameters generate invalid HTTP request for UserInfo
3 participants