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.

val-town 87b87b9 4.1 KB Updated

File contents

val-town/plugins/tree/main/plugin/skills/oauth commit 87b87b9a38

Frequently asked questions

npx skillmds add val-town/oauth