Restricted Access

Use when a val's HTTP endpoints should not be open to the whole internet — limiting an app to a team, understanding why an endpoint redirects to a login page, letting a webhook through, or identifying which Val Town user is viewing an app. Covers app access (`httpPrivacy`), org grants, bypass tokens for automation, and the `X-Val-Town-User` identity header. For building your own login flow inside a val, see the `oauth` skill instead.

val-town 27a95c4 6.7 KB Updated

File contents

val-town/plugins/tree/main/plugin/skills/restricted-access commit 27a95c467b

Frequently asked questions

npx skillmds add val-town/restricted-access