This is a sample seed Python Web App integrated with ID.me via OAuth 2.0
In order to run the example you need to have python and pip installed.
First set your client configuration settings in server.py
# server.py
client_id = 'YOUR_CLIENT_ID'
client_secret = 'YOUR_CLIENT_SECRET'
redirect_uri = 'YOUR_REDIRECT_URI'
authorization_base_url = 'https://api.id.me/oauth/authorize'
token_url = 'https://api.id.me/oauth/token'
attributes_url = 'https://api.id.me/api/public/v3/attributes.json'
# possible scope values: "military", "student", "responder", "government", "teacher"
scope = ['YOUR_SCOPE_VALUE']Run the following to install the dependencies and start the server.
pip install -r requirements.txt
python server.pyNow you can view the app at http://localhost:5000