Tuesday, August 21, 2018

ReactJS dotnet core + Google Oauth API

Hello,

I am confused regarding how to put React+dotnet core with google oauth api together. I have been looking for resources and it typically shows a built front end and not how it connects. (They only tell you to add the google authentication option on the startup file and MAGIC)

Currently i am working on a react front end with dotnet core backend (using the dotnet react template).

I am currently trying to close the api endpoints by making the server authenticate with google oauth?

Is that a good approach or should i let the client authenticate using google oauth and then send the token to the server?

I am mainly confused as in what do i reference in order to put use the google 0auth api from the backend? do i have to do an api call on the front end? or do i just send the authentication information and let the backend do the request?

Would be great if you can point me to resources.

Sorry for the long post

ReactJS dotnet core + Google Oauth API Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team