Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 403 Bytes

File metadata and controls

8 lines (7 loc) · 403 Bytes

python-msal-example

Basic Azure AD username password login example using Microsoft Authentication Library

Once you have your python environment set up with the included requirements.txt, use this command to run the test:

FLASK_APP=app.py CLIENT_ID=<client_id> AUTHORITY=<authority> USERNAME=<azure_ad_username> \
PASSWORD=<azure_ad_password> flask run -h localhost -p <callback_uri_port>