Skip to main content

Dashboard Authentication Checks

Synopsis​

Intended end result: Restore dashboard sign-in and session behavior quickly.

How this page gets you there: Validate session env vars, test login endpoint behavior, and confirm the frontend-to-API runtime configuration path.

Validate the session-related environment variables on the server container:

sudo docker exec condor_server env | grep '^SESSION_'

Test the login endpoint without storing credentials in the runbook:

curl -i -X POST http://localhost:8050/api/login \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=<username>' \
--data-urlencode 'password=<password>'

Confirm the frontend runtime API target:

curl -s http://localhost:8050/config.json

Confirm what Compose injected into the server service:

sudo docker compose --project-name condor -f /mnt/datadisk/condor/docker-compose.yaml config | sed -n '/server:/,/^[^ ]/p' | grep SESSION_