NastuzziSamy / files_external_gdrive

[BETA - UNSTABLE] GDrive external storage for NextCloud
GNU Affero General Public License v3.0
79 stars 23 forks source link

"Grant access" button not working #28

Closed volker-fr closed 5 years ago

volker-fr commented 6 years ago

Now ticket for closed #4. Seems like there are two different issue while one got fixed.

Clicking the "Grant access" button doesn't do anything. Credentials etc. are double checked and ruled out as main issue.

The logfiles are empty. No hint here.

The developer console shows the following when I click on Grant access

Additional, if I click on on the "Save" icon totally on the right the followin happens:

/nextcloud/apps/files_external/globalstorages is called with a POST. Payload is (order changed through json_pp):

{
   "testOnly" : true,
   "applicableUsers" : [],
   "mountPoint" : "GoogleDrive",
   "applicableGroups" : [],
   "backendOptions" : {
      "client_secret" : "YYYYY",
      "token" : "",
      "client_id" : "XXXXXXX",
      "configured" : ""
   },
   "priority" : 100,
   "mountOptions" : {
      "filesystem_check_changes" : 1,
      "previews" : true,
      "encrypt" : true,
      "enable_sharing" : false,
      "encoding_compatibility" : false
   },
   "authMechanism" : "oauth2::oauth2",
   "backend" : "files_external_gdrive"
}

This call returns 422 Unprocessable Entity with body

{"message":"Unsatisfied authentication mechanism parameters"}

Just looking at the call I am not sure what "encrypt":true means nor where it comes from. Server side encryption is disabled.

towfiqi commented 5 years ago

same here..

NastuzziSamy commented 5 years ago

Fixed on the next release

diveyez commented 4 years ago

Fixed on the next release

No, it is not fixed. Sorry to disappoint.

JamesDAdams commented 2 years ago

Not fixed !