i am new to emberjs and passport js google oauth2. I am trying to create a authentication with an third party app like google to handle my password. So far, i’ve tested my backend (nodejs) and it persist the data user. My issue is that, how can i transfer my data (user data) to the front-end(emberjs) with the callback url (/auth/google/callback). My second issue, when i try to make an ajax call get (localhost:3000/auth/google), it doesn't redirect me to the google page to login...instead it refresh my UI.
Aucun commentaire:
Enregistrer un commentaire