I am using Laravel 5.1 and Stormpath for User management.
I followed the below docs to implement google login
- Configuring Your Social Provider = DONE
I created project in Google Console and in “Authorized redirect URIs” I've added
http://ift.tt/2kjnEd1
- Create a Stormpath Social Directory = DONE
-
Initiate Social Login - In my form when I click on Google Sign In it redirects to
http://ift.tt/2k8UoD6; account_store_href=http://ift.tt/2kjwkjt} &redirect_uri=https%3A%2F%2Flocalhost
and returns
{"status":404,"message":"Resource not found."}
As per this documentation
- The user clicks on a “Login with Google” link pointing at your application’s
/authorize
endpoint - Stormpath handles the login to Google and redirects the user back to your app with a Stormpath Token JWT response
What am I doing wrong? Why isn't stormpath redirecting to the google login page?
Any help appreciated! Thanks in advance!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire