Sign the desk's callers in with OpenID Connect: the authorization request with its state, nonce and PKCE challenge; the code exchanged and the ID token checked against the provider's keys; sessions kept in Postgres, as hashes of their tokens; each person's conversations theirs alone; a review of an assistant's sign-in routes; and the app signed in, with its cookies sent only over HTTPS and no change taken from another site.
You build
sign_in.py, then tokens.py, then sessions.py, then store.py, then desk_auth.py, then app.py