05 / 13
Each clinic has its own secret keys, generated randomly and stored in a configuration file on the server only.
Keys are generated randomly when a clinic is created, with a length that is hard to guess.
No key is shared by two clinics, so exposing one key opens only one clinic.
Configuration files that hold keys are excluded from uploads to Git, so they never appear in the published code.
Keys do not appear in the app or the browser, and are never sent to any user.