4👍
✅
The error states to use a HTTPS connection which you can either set one with an SSL certificate or allow a HTTP connection in the environment like so:
import os
os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1'
From this answer
Source:stackexchange.com