Skip to content

Using Flask Dance to authenticate with Genius API using Oauth2

License

Notifications You must be signed in to change notification settings

myersr/genius-flask-dance

Repository files navigation

genius-flask-dance

A simple Flask server that authenticates a user with their Genius.com account.
The application uses Flask-dance's custom blueprint to authenticate through Oauth2.

Installing

A step by step series of examples that tell you have to get a development env running. With python I Always suggest a virtual environment.

Install the python packages

pip install -r requirements.txt

To run the server run

python server.py

Note: to run the Oauth authentication without an ssl certificate run this: export OAUTHLIB_INSECURE_ANSPORT=1

Authors

  • Roy Myers - Initial work - myersr

License

This project is licensed under the MIT License - see the LICENSE file for details


Links and Thanks!

Genius.com
Flask
Flask-dance's