NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

improvement: friendly error if dashboard enabled but no secret key set #471

Closed deargle closed 3 years ago

deargle commented 3 years ago

Currently the app will return a 500 error, with a message in the logs that "The session is unavailable because no secret." Psiturk 3 defaults to not setting any secret.

Also, suggest to users that they only document their secrets such as this via env vars, via PSITURK_SECRET_KEY=<value> etc.

deargle commented 3 years ago

closed by #497