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

NbOAuth2AuthStrategy sends parameters in body instead of using 'x-www-form-urlencoded' #716

Closed
1 of 2 tasks
megalucio opened this issue Sep 13, 2018 · 2 comments · Fixed by #832
Closed
1 of 2 tasks

Comments

@megalucio
Copy link

megalucio commented Sep 13, 2018

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:
When using oauth2 password authentication the username and password information is sent in the body of the request:

{ "grant_type":"password", "email":"testuser", "password":"1234" }

Expected behavior:
According to RFC 6749, this information should be sent using the "application/x-www-form-urlencoded" encoding algorithm.

Steps to reproduce:
Configure NbOAuth2AuthStrategy and attemt to log in againts oauth service.

@nnixaa
Copy link
Collaborator

nnixaa commented Sep 24, 2018

Hey @alain-charles, if you have some time would be great if you could check this one!

@alain-charles
Copy link
Contributor

Hi @nnixaa
OK, i'll have a look at this in the next days.
No problem.

Alain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants