I have successfully implemented Angular Social Login into my Angular app, but now I need to implement it into the server part of the application, which I have done in Node.js with Express. What am I suppose to do? I understand it is something to do with the token that Google sends, but what exactly is the way to implement this token with Express? Can you please point me to some source for this?
Asked
Active
Viewed 286 times
1 Answers
0
You have several options to achieve this I'm assuming you're going to use JSON Web Tokens of some sort. If so, then you'd get your token from the FrontEnd, you then would attach the token to the header of your requests and the Backend would authenticate the validity of the token
Some good options would be to use a service like Auth0 (here's a quickstart guide) or Firebase (Add Firebase to your JavaScript project)
Some Links that may help:
laudebugs
- 166
- 1
- 4