auth
billing
Auth Me
Return current authenticated user info, tier, and CSRF token.
Mirrors the existing _handle_auth_me logic exactly:
- Checks trial status via billing module
- Returns tier (free / plus_trial / plus / pro / etc.)
- Extracts CSRF token from cookie for JS to use in X-CSRF-Token header
Also issues an anon CSRF token to unauthenticated callers — SSR pages (e.g. /learn/<course>/<module>/) need this so the quiz-submit flow can satisfy validate_csrf before sign-in. Symmetric to /api/auth/challenge.
get/api/auth/me
Request
- Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
- URL: https://www.oxfordledge.com/api/auth/me
- Auth: none declared
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.