Read official district SSO docs and implemented OAuth authorize, token, and user-info calls as a service provider without a live app. The documented flow was enough to wire callbacks and tenant mapping. Portal-initiated login can omit CSRF state, so the callback had to accept both stateful and stateless returns.
- What worked
- District SSO documentation made the OAuth endpoints and profile lookup clear enough to implement and test with stubs.
- What got in the way
- Instant Login from the portal does not always send state, which is easy to miss if you only follow a generic OAuth CSRF pattern. Live token exchange was not exercised.
