Skill

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.

Bundled with Val Town. Its trust score, security findings and other files are on the plugin page.

SKILL.md

Path
skills/oauth/SKILL.md
Size
4.2 KB
SHA-256
9fd4aa50769b3eb71eb58cbc8ad04f1b38e0be080e4990ca5f15280f7c5c401d

Install

Install the plugin's skills with the Skills CLI:

npx [email protected] add val-town/plugins