Skip to main content

Appendix A - SSO Test App

Clone the repo into a location capable of serving a python flask application.

git clone https://git.landisfam.org/landisfam/ssotest

Create a virtual environment and install the requirements.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Create a .env file with information for your instance.

FLASK_SECRET = "your_secret_key"
KEYCLOAK_URL = "https://kc.example.com"
CLIENT_ID = "test-app"
CLIENT_SECRET = "from_keycloak"
REDIRECT_URI = "https://test-app.example.com/callback"