Open pranshuchittora opened 4 years ago
In the serialise/deserialise functions, you will be given a token that represents the user. You should then be able to request access to those APIs from that token (the user will have to additionally grant your app access to the APIs)
@pranshuchittora Did you get any solution for the same?
@pranshuchittora Did you get any solution for the same?
Scraped that project :smile:
@pranshuchittora Try this link
https://dev.to/aidanlovelace/how-to-setup-google-oauth2-login-with-express-2d30
They have got the things covered. Well passport-google-oauth has hardcoded the data to be sent to profile. I found with the googleapis to fetch the same data.
What's the ideal way of calling the other google API with the same auth. Like making a request to the Google Drive API, etc.