Skip to content

export OAUTHLIB_INSECURE_TRANSPORT=1 is not working in Debian 11 Linux? #419

Open
@coateds

Description

@coateds

I have recently added Flask Dance to a web site I have been building. Until now I have been developing on Windows and deploying to Not-Yet-Production Azure App Service that runs Debian 11 under the hood. This has worked well so far.

The trouble I am having is with the OAUTHLIB_INSECURE_TRANSPORT=1 environment variable. I just can't get Flask Dance on Debian 11 to change its behavior as expected. It works in my Windows dev environment. I have gone so far as to create a test VM with Debian 11 to eliminate Azure as a source of the problem. I get exactly the same behavior.

There is another part of the application that utilizes values stored in environment variables. For this test I am placing the export commands in the .bashrc file for the user running the flask app. so I know the app is reading and storing the values.

I have Flask Dance working the way I want it in my dev environment. I am not ready to set up an https environment yet, I still have some comcepts to prove out on top of Flask Dance before I spend the time and money.

What am I missing here to keep developing my web site on top of the Flask Dance functionality that is working so well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions