Skip to content

ChrisFmlyc/oauth_testing_flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauth_testing_flask

oauth_testing_flask description

Quick Start

Run the application:

make run

And open it in the browser at http://127.0.0.1:5000/

Prerequisites

Python >=3.7

Development environment

  • make venv: creates a virtualenv with dependencies and this application installed (latter is installed in development mode)

  • make run: runs a development server in debug mode (changes in source code are reloaded automatically)

  • make test: runs tests (see also: Testing Flask Applications)

  • make dist: creates a wheel distribution (will run tests first)

  • make clean: removes virtualenv and build artifacts

  • add application dependencies in pyproject.toml under project.dependencies; add development dependencies under project.optional-dependencies.*

  • to modify configuration, pass it in environment variables prefixed with FLASK_; e.g., FLASK_DEBUG, etc.;

Configuration

Default configuration is loaded from oauth_testing_flask.default_settings and can be overriden by environment variables with a FLASK_ prefix. See Configuring from Environment Variables.

Consider using dotenv.

Deployment

See Deploying to Production.

You may use the distribution (make dist) to publish it to a package index, deliver to your server, or copy in your Dockerfile, and insall it with pip.

You must set a SECRET_KEY in production to a secret and stable value.

About

OAuth2.0 AuthZ Code Flow phishing research.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors