![]() With open('token.pickle', 'wb') as token: If creds and creds.expired and creds.refresh_token:įlow = om_client_secrets_file('client_secrets.json', SCOPES) # If there are no (valid) credentials available, let the user log in. With open('token.pickle', 'rb') as token: # created automatically when the authorization flow completes for the first # The file token.pickle stores the user's access and refresh tokens, and is ![]() # If modifying these scopes, delete the file token.pickle. I am unable to find the reason for the same.įrom googleapiclient.discovery import buildįrom google_auth_oauthlib.flow import InstalledAppFlowįrom import Request ![]() This was working perfectly few months before but not working now a days. I have a code for downloading files from Google Drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |