Thursday, 11 May 2017

Get access token on server side javascript (nodejs) using google authorization code received from client side

i have gone through this documentation :- https://developers.google.com/identity/sign-in/web/server-side-flow

At the last step it receives the authorization code and after that it shows the example of receiving access token and refresh token using java or python libraries, but i cant find any similar example in nodejs. How can i replicate the same example using nodejs? Can't i just send a post or get request to some google oauth api and receive the access token using authorization code?

Thanks in advance :)



via Nishan

No comments:

Post a Comment