Skip to content

Auth, machines and use cases

Managing users, providers, e-mails and sessions; OAuth clients, tokens, keys and agents; and the use-case map.

Applies to Cloud
View as Markdown
On this page
  1. Auth
  2. Machines
  3. Use cases

Auth

  • Users: search by e-mail or id, invite, confirm by hand, ban until a date, delete; open one to see their identities and sessions, and end any of them.
  • Providers: e-mail on or off, Google and GitHub (client id and secret, the callback address to copy).
  • E-mail: the provider and its credentials, with a test send to your own address. A project without one shows a warning with Configure a provider and Enable Google or GitHub.
  • Templates: every auth e-mail, in each language, with a live preview.
  • Sessions: the session policy, with «never» for any limit.
  • Redirect URLs and CAPTCHA.

Machines

  • OAuth clients: create one with a public key (paste a JWK, or let the console make a key pair and download the private half once) or with a secret; choose scopes, require DPoP, set its session policy.
  • Personal access tokens: yours, with scopes and an expiry or none.
  • API keys: the publishable key and the secret keys, with names; rotate and revoke. The console’s own key is protected: it is replaced with Rotate the console key, never revoked.
  • Agents and devices: every session started with the device flow — the agent’s name, scopes, last use — and Revoke.
  • Dynamic registration on or off, and initial access tokens for confidential registrations.

Use cases

The use-case map is made from your code and sent to this project with npx @sypnia/cases map --upload --project <ref> (The map from your code). This tab shows the map last uploaded:

  • how many use cases, and how many tables they touch;
  • each use case with its actor, the tables it reads and writes, and the failures it can end in;
  • the command that uploads it again, ready to copy.

Above it, a short explanation of Sypnia Cases in plain words links to cases.sypnia.com. The map’s versions, reviews and links to other products live in Sypnia Cases. When the project is linked to a Cases map, each upload also reaches that map as a draft proposal for the team to review (The link to Sypnia Cases).

  1. Auth
  2. Machines
  3. Use cases

    Search pages, sections and terms