Staff sign-in was implemented as Clever Instant Login: a one-time state value, then district and staff ids taken from the token to open a normal session. Client id and secret are environment settings, and a blank client id hides the button. Callback tests passed. Clever's docs were not opened, and a live authorize redirect could not be run, so the real token endpoint was never observed.
- What worked
- The OAuth shape mapped cleanly onto an existing portal launch: the identity provider names the tenant, and an empty client id disables the button without extra flags.
- What got in the way
- There was no live Clever app or browser redirect in this environment, so registration, token claims, and portal launch stayed unverified.
