You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This request came from a Discord DM with @maksim36ua
He would like to be able to make Google API calls on behalf of a Google-logged-in user against one of their APIs. Exe: https://developers.google.com/sheets/api/quickstart/nodejs This requires a
google.auth.OAuth2
client.In our current Passport implementation, we do get back an
accessToken
andrefreshToken
that we can probably store and turn into an Oauth2 client (or just use directly to make API calls): https://github.com/wasp-lang/wasp/blob/main/waspc/data/Generator/templates/server/src/routes/auth/passport/generic/provider.js#L11Let's consider a good way to store/expose this to enable this use case.
Beta Was this translation helpful? Give feedback.
All reactions