You need to make sure you have the following
- Python: Python 3.8+ installed on your machine. You can install it from the Python official website.
- Okta Account: Sign up for an Okta account which will be used as your Identity Provider (IdP). You can register for a free 30 days trial account.
- Stytch Account: Register with Stytch for their B2B SaaS product. Make sure you register for the B2B SaaS Authentication product.
- Node: Node v20.10.0+ installed on your machine. You can install it by following the instructions from their website.
Start by installing the needed packages
pip3 install Flask flask-cors stytch requests
Then run the backend with the following command :
cd api
python3 app.py
Start by installing the needed packages
npm install
Then run the frontend with the following command :
npm start
- Using Magic Link
- Using SSO with Okta