Use the Flask Python framework and Descope's Python SDK to add and manage basic authentication.
- Clone the repository:
git clone https://github.com/descope-sample-apps/flask-sample-app.git
- Install dependencies:
make setup
- Setup environment variables:
PROJECT_ID="YOUR_DESCOPE_PROJECT_ID"
DESCOPE_ID
: can be found in your Descope's account under the Project page
- Go to static/descope.js and add your project id in the quotes:
const projectId = ""
To start the application, run:
flask run
For any issues or suggestions, feel free to open an issue in the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.