0

I have a web application where users can sign in with Google.

To the sign-in process I add a scope to be able to access Google Calendar.

Now that the user is signed in, I would like to - in client-side - get their current Google access token in order to - in client-side - make a request and get a list of their events.

Is there a way to get the current OAuth token (no need for refresh token) in order for me to make this completely in the client-side?

Amit
  • 5,924
  • 7
  • 46
  • 94
  • once the user signs in with google then onSuccess callback you get entire user details including the access token. That also depends on how you have implemented google sign in – kapil pandey Jul 08 '20 at 14:24
  • Don't repost the same question multiple times please. If you have additional information, add it to your original question. – Frank van Puffelen Jul 08 '20 at 14:47
  • @FrankvanPuffelen I'm interested in knowing how to do it on the client side, and on the server side. Those are two separate questions. Please reopen this question – Amit Jul 08 '20 at 15:51

0 Answers0