Skip to content
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

"Grant access" button not working #55

Open
motoride opened this issue Jan 2, 2020 · 2 comments
Open

"Grant access" button not working #55

motoride opened this issue Jan 2, 2020 · 2 comments

Comments

@motoride
Copy link

motoride commented Jan 2, 2020

I'm experiencing the exact issue described in #28 , namely error 422 Unprocessable Entity , {"message":"Unsatisfied authentication mechanism parameters"}

I'm running nextcloud 17.0.2 on my webhost installed using Installatron, and using version 0.4.0 downloaded from the app store.

I was able to get this functioning with OwnCloud, so I'm fairly certain this is an app issue.

From what I can understand, (I'm not a programmer) this is an issue with the gdrive app that isn't related to a configuration error on my end ?

@diveyez
Copy link

diveyez commented Jan 7, 2020

I can confirm this, it worked a few weeks ago..

``SEC7112: Script from https://devgru.club/cloud/apps/files/ was blocked due to mime type mismatch
externalstorages (1,1)

JQMIGRATE: Migrate is installed, version 1.4.1
main.js (396,474)

oc_config is deprecated: use OC.config instead
main.js (1095,19)

Legacy browser detected, applying css vars polyfill
main.js (320,1061)

18Deprecated call $.tooltip('destroy') has been deprecated and should be removed
main.js (622,132)

HTTP422: UNPROCESSABLE ENTITY - The request was well-formed but could not be processed due to semantic errors.
(XHR)POST - https://hostname.com/cloud/apps/files_external/userstorages``

@diveyez
Copy link

diveyez commented Jan 7, 2020

@NastuzziSamy NastuzziSamy, the thing literally thinks its the dropbox grant access button. Please patch this.

wankdanker added a commit to wankdanker/files_external_gdrive that referenced this issue Jul 1, 2020
The relative path was not correct on my installation to load the gdrive.js file.
The incorrect path was causing nextcloud to redirect to it's default page for the 
user which is text/html. This caused the error mentioned [here](NastuzziSamy#55 (comment)).

And since the gdrive.js file was not loading, the Grant Access button was not working.

After applying this fix, Grant Access works.

NastuzziSamy#55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants