pasbydocs
Concepts

Flow actions

login, signup, link, sign, and confirm — when to use each action with required scopes.

Every user-facing pasby flow includes an action in the request body. The action controls UX copy (payload) and which scopes apply.

Identification actions

Used with identification endpoints.

ActionPurposeTypical scopes
loginAuthenticate a returning pasby useridentification:same, identification:another, identification:wildcard
signupOnboard a new identitySame as login
linkLink pasby identity to an existing account in your appSame as login
{
  "action": "login",
  "claims": ["naming.given", "contact.email"],
  "payload": "Sign in to Acme"
}

Signing actions

Used with signing endpoints.

ActionWebhook requiredPurpose
signYesCryptographic signature
confirmNoTransaction confirmation

See Webhooks when action is sign.

On this page