Skip to content

psylity/oauth2mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mock oauth2 server

flask + authlib, no database, configuration is extremely simple

preparation

$ git clone https://github.com/psylity/oauth2mock
$ cd oauth2mock
$ python3 -m venv venv
$ source venv/bin/activate
$ python3 -m pip install -r requirements.txt

configuration

You may edit or not app.py to adjust oauth2 server to your app. Most often it is the scope parameter.

execution

$ flask run

Now you can navigate to http://127.0.0.1:5000. It is default url, you can modify it by specifying port/host parameters, like that:

$ flask run --host 0.0.0.0 --port 8080

About

mock oauth2 server based on flask and authlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published