Templates Plugins Courses

Receiving HTTP 401 error when using Google Drive plugin

I’ve recently installed the Google Drive plugin (free version) and have been receiving this error

My page only has 2 elements:

  • A button the user click on to log in
  • A text field that tries to read the user’s email through Google Drive (Current User’s Google Drive’s Email)

The user is able to log in with their Google account without any problems.
The error occurs when they get redirected to my page after logging in.

Hi, @laborath!

Thanks for reaching out!

This error is appearing because authentification credentials are missing. You need to add ID/API Key and App Secret in the Editor- tab Plugins

Here is a link that might be useful: https://developers.google.com/identity/sign-in/web/sign-in

Hope this helps!
Best, Julia.

Thank you for the reply, Julia!

The authentication credentials in the Editor - tab Plugins were already set

I just took a look to see if I copied them correctly, and they seem to be correct

Hi, @laborath!

Make sure you’ve included all possible redirection links for your application that users can log in from. See screenshot as a reference.

Hope this helps!
Best, Julia.