How to solve a never ending loop of login screens when trying to OAuth in chrome extension? How to solve a never ending loop of login screens when trying to OAuth in chrome extension? google-chrome google-chrome

How to solve a never ending loop of login screens when trying to OAuth in chrome extension?


As the documentation states, the scope you need is:

https://www.googleapis.com/auth/drive

You wrote http://www.googleapis.com/auth/drive but it must be https.