0

I would like to know if there is a way to tell authlib to ignore the lack of HTTPS in my dev environment instead of throwing an InsecureTransportError.

1 Answer 1

1

As mentionned here you can set an environment variable :

export AUTHLIB_INSECURE_TRANSPORT=1

Or if you want to set it programmatically

# Somewhere in webapp_example.py, before the app.run for example
import os 
os.environ['AUTHLIB_INSECURE_TRANSPORT'] = '1'
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.