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
$_POST with 301 Moved Permanently? #61
Comments
Additional Info: |
The final callback depends on the transport that is configured at Opauth configuration. See |
Are you using any plugin or wrapper of Opauth (eg. Opauth plugin for Laravel) that overrides your configuration? |
No, I'm not using any wrapper or any plugin that will override the configuration.
|
If you can see $_POST['opauth'] then Opauth is behaving correctly and ends right there. The final GET is probably after Opauth. Do you have some URLs to share? The URL that accepted the POST and the final one that accepted the GET? |
I think it's resolved now on my end. I just want to share it, for Laravel4 guys. The callback_url is set to like this:
I'm not sure but it's POSTing just fine on this URL with 301 http status. But when it was changed to a full path:
post callback_transport works fine now. |
Thanks for sharing your finding, @OmarUsman |
Hello,
I'm trying to setup the library on Laravel4.
Why is it that it POST to the right callback url with 301 on it,
and then redirects back to the callback url using this time a GET request.
I feel everything are setup just fine.
Let me know if you have some insights to where should I look next.
Thanks much.
The text was updated successfully, but these errors were encountered: