I have implemented an oauth2 server and an oauth2 client using flask-oauthlib.
When I am trying to test locally, the client returns an InsecureTransportError and tells
For Authlib usesrs :
export AUTHLIB_INSECURE_TRANSPORT=1
Or if you want to set it programmatically :
import os os.environ['AUTHLIB_INSECURE_TRANSPORT'] = '1'
I know it's not answering the question but everytime I ask Google about it I land on this page.