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.
And since the gdrive.js file was not loading, the Grant Access button was not working.
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.
And since the gdrive.js file was not loading, the Grant Access button was not working.
After applying this fix, Grant Access works.
https://github.com/NastuzziSamy/files_external_gdrive/issues/55