Skip to content

Uploading files to Same drive without considering current logged in google account #3

@Knight017

Description

@Knight017

Hi Miro,
i have used your example it is useful but i have found one issue that is "it uploads files to drive which is used first time". I have elaborated below the issue with scenario.

Step 1 : I have authorized your app for account [email protected] and then upload the file under Test folder.File was uploaded successfully.

Step 2 : Then I Logged out from [email protected] google account.

Step 3 : Then immediately i want to upload another file but this time to different google account , As using your app it ask for authorization and this time i have logged in with [email protected] account and then fill the form and submit it but file is not uploaded in [email protected] drive but uploaded in [email protected] account's drive.

NOTE: And some time it gives "Unexpected error" from functions.php > getCredentials() method >as there is $credentialsArray without $credentialsArray['refresh_token'].

I have tried a lot but could not find any solution.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions