Skip to content

ommahmood/lab9-wi26

 
 

Repository files navigation

lab9-wi26

Password Auth (app.py)

docker compose up

Uses app.py and init.sql. Visit http://localhost:8000 for the register/login page.

If you make changes to init.sql, stop compose and run:

docker compose down -v && docker compose up

OIDC Auth (app_oidc.py)

Create a .env file with your OIDC credentials:

OIDC_CLIENT_ID=your_client_id
OIDC_CLIENT_SECRET=your_client_secret
OIDC_REDIRECT_URI=http://localhost:8001/callback

Then run:

docker compose -f docker-compose.oidc.yml up

Uses app_oidc.py and init_oidc.sql. Visit http://localhost:8001 and click "Login with OIDC". IMPORTANT it will run on localhost:8001

If you make changes to init_oidc.sql, stop compose and run:

docker compose -f docker-compose.oidc.yml down -v && docker compose -f docker-compose.oidc.yml up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 83.0%
  • HTML 15.3%
  • Dockerfile 1.7%