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

pass the parameters array to the oauth/auth_native_traditional POST call #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

afraazali
Copy link
Contributor

The authNativeTraditional was expecting an array of params but it wasn't sent along in the post call to 'oauth/auth_native_traditional'.

@JorgeSivil
Copy link

Hello @afraazali, apart from this error, which I also fixed, I had to comment throwing of // throw new MissingArgumentException(array('access_token', 'client_id', 'client_secret'));

Because the library was setting these in the URL query parameters (not post fields) and Janrain was throwing error "Validation Failed: request failed because form action '/widget/traditional_signin' didn't match request url '/oauth/auth_native_traditional?client_id=XXX&client_secret=XXXX"

It might be a Janrain error because we are never setting form_action

@JorgeSivil
Copy link

@gedex could you merge please?

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.

2 participants