Skip to content

zzeppozz/ex_oauth_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

oAuth test application with Flask

Get Google credentials

https://developers.google.com/identity/gsi/web https://developers.google.com/identity/gsi/web/guides/overview

flask_oauthlib

Read:

Debugging

To run flask in debug mode, first setup virtual environment for python at the top level of the repo, activate, then add dependencies from requirements.txt:

cd ~/git/ex_oauth_flask
python3 -m venv venv
. venv/bin/activate
pip3 install Flask Authlib requests pyjwt

then start the flask application

cd ~/git/ex_oauth_flask
export FLASK_ENV=development
export FLASK_APP=flask_app/routes
flask run

test through flask (no SSL): http://localhost:5000/api/v1/name?namestr=Notemigonus%20crysoleucas%20(Mitchill,%201814) http://localhost:5000/api/v1/occ?occid=01493b05-4310-4f28-9d81-ad20860311f3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published