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

Sending login token back to frontend after login #341

Closed
maidul98 opened this issue Feb 11, 2019 · 1 comment
Closed

Sending login token back to frontend after login #341

maidul98 opened this issue Feb 11, 2019 · 1 comment

Comments

@maidul98
Copy link

My auth is done using a Passport. I have successfully logged in and return the callback with the user. However, when the frontend hits the endpoint that sends them off to Google Login, there is no way to return a token from the first endpoint since the user already left the site. How can I send back a token to frontend? Or should I use something else to login users via social accounts on the frontend side (ex: https://www.npmjs.com/package/satellizer)?

@driesvints
Copy link
Member

Hi there,

Looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

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

No branches or pull requests

2 participants