-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refresh token #1
Comments
@mangomi Hey ! Do you have any idea how we can creatEvent based on the previously written code ? Thank you very much |
how to hit api in post for Google calendar? and how we can set time in that |
Hi, I know it was long ago that u asked this, but today I had to implement this and here it goes. Google only provide refresh token when u ask for offline accessType on your flow, so you gonna have to make ur authorize() function look like this:
Hope this helps someone looking for answers! |
Hi, it was nice demo but let me know why you haven't used "google.client.user-authorization-uri" url. Because i just debug your code and found that only we are getting AccessToken but it will expire in an hour may be so definately we need refresh token as well.
The text was updated successfully, but these errors were encountered: