OAUTH

Use when a val needs to require login with a Val Town account — gating routes behind authentication, identifying the current user, building user-specific dashboards. Covers std/oauth's `oauthMiddleware` and `getOAuthUserData`, the auto-managed `/auth/*` routes, and session behavior. For third-party OAuth providers (Google, GitHub, etc.) see the `third-party-integrations` skill instead.

thedixitjain 90102b2 3.9 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/mcp-and-integrations/oauth commit 90102b25e9

Frequently asked questions

npx skillmds add thedixitjain/oauth