lundi 30 janvier 2017

Laravel Stormpath Social Login Error

I am using Laravel 5.1 and Stormpath for User management.

I followed the below docs to implement google login

http://ift.tt/2k8Z0tb

  1. Configuring Your Social Provider = DONE

I created project in Google Console and in “Authorized redirect URIs” I've added
http://ift.tt/2kjnEd1

  1. Create a Stormpath Social Directory = DONE
  2. 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

http://ift.tt/2k91PKQ

  1. The user clicks on a “Login with Google” link pointing at your application’s /authorize endpoint
  2. 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