Tallwave / auth-boilerplate

MIT License
3 stars 2 forks source link

Verify JWT token from the react client side generated by Google #6

Open TinaHeiligers opened 6 years ago

TinaHeiligers commented 6 years ago

The react client boilerplate authenticates directly with Google and retrieves a temporary (short ttl) cookie as well as a JWT. We need the server to verify the JWT token with Google and respond to the client with a longer ttl cookie and JWT.

mmislam101 commented 6 years ago

Please also add instructions on how to generate the service token on Google API Console and where to put that information in some manifest file when generating a project from the boilerplate.

TinaHeiligers commented 6 years ago

@mmislam101 I don't understand that request. Which service token are you referring to?

TinaHeiligers commented 6 years ago

The server has all the keys for the application that have been created on the Google API Console and those instructions are already in the README.

mmislam101 commented 6 years ago

Oh ok. Then nm my comment.