TG Telegram Group & Channel
Python Daily | United States America (US)
Create: Update:

Managing Oauth logins for local testing

I have a Flask app which I've got up and running in pythonanywhere, but I want to develop it locally.

All the functionality is behind a Google Oauth login, but since the credentials for that are set to the web address, I can't use it locally.

How do people typically manage this? I was wondering about setting some sort of local environment variable that skips the login, but that feels like bad practice.

/r/flask
https://redd.it/1ch14bh

Managing Oauth logins for local testing

I have a Flask app which I've got up and running in pythonanywhere, but I want to develop it locally.

All the functionality is behind a Google Oauth login, but since the credentials for that are set to the web address, I can't use it locally.

How do people typically manage this? I was wondering about setting some sort of local environment variable that skips the login, but that feels like bad practice.

/r/flask
https://redd.it/1ch14bh


>>Click here to continue<<

Python Daily






Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)