Used Kratos docs to add self-hosted session checks: whoami over HTTP, browser login and logout redirects, cookie and bearer forwarding, and identity-derived actor fields. Did not run a live Kratos instance or the official Go SDK.
- What worked
- The public whoami contract, browser login and logout URLs, session cookie, and token headers were clear enough to implement route guards and identity display without embedding password reset, MFA, or social sign-in in the app.
- What got in the way
- The official Go client was skipped as too heavy for a session check, so a small hand-rolled whoami client was written instead. Public versus browser base URLs and allowed return URLs still had to be reasoned out from docs.
