quest'n'click 4.5.0 · r1

Built for quest'n'click 4.5.0, revision r1. Whether it is published, and which one is current, is recorded at publication.json.

Invitations

Français · Type: how-to · Audience: admin · Context: hosted Studio · Status: ready · Applies from: 4.2.1

The Studio Server (hosted team Studio) · contract: experimental · verified by CI (support matrix of 4.4.0, 2026-10-23): Postgres, S3 and Keycloak in CI; Chromium and Firefox (job studio-hosted); WebKit on macOS, by hand only · automated checks: jobs studio-hosted, studio-install-smoke; CI plan studioHosted; 3 test files · people's passes: studio-hosted not run (#149), studio-collab not run (#150), studio-preview not run (#166), studio-assets-hosted not run (#167), studio-mcp-remote not run (#196), studio-oidc-generic not run (#197) · known limits: invitation-no-revoke

Nobody is a member of a team Studio by default: an invitation makes one. This page says how an owner invites someone, how the first owner gets in, and what an invitation can and cannot do.

What you get

A one-time link for one email address and one role. When that person opens it and logs in with that email, verified by the identity provider, they become a member with that role.

Context and versions

A hosted Studio (the Studio Server) with an OpenID Connect provider, from 4.2.1. The local Studio has no members and no invitations.

Prerequisites

Where to run the commands

Steps

  1. The first owner comes from the command line, since nobody can invite yet:

    # on the studio app's machine, in the engine repository (on Clever Cloud: clever ssh, then cd "$APP_HOME")
    npm run studio-server -- invite --email you@example.fr --role owner
    

    It prints the link. The configuration comes from --config <file> or from STUDIO_CONFIG_JSON, which the shell of clever ssh already has. From the release archive the command is npx quest-n-click-studio-server invite --email you@example.fr --role owner --config studio.config.json.

  1. Any other member, in the Studio: Members…, then the Invite form. Type the email (verified at the provider), choose the role (owner, dev or reviewer; dev is preselected), and click Create the invitation link. The link appears with a Copy button.

    Through the API, as an owner:

    # anywhere, with an owner's token
    curl -X POST -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" \
      -d '{"email": "lea@example.org", "role": "dev"}' https://studio.example.fr/api/invitations
    

    It answers {"link": "https://studio.example.fr/auth/login?invite=…", "expiresInDays": 7}.

  1. Send the link yourself (the Studio sends no email): by chat, by mail. It is shown once; only its hash is stored.
  1. The person opens the link and logs in at the provider with that email. On the way back they are a member with the invited role. See Starting as an invited dev.

Expected result, and how to check it

The invitation's rules

Guarantee · invitation-once-verified-email · referenced · executed on aff6caab7514 · scope self-checked by the author (AI), not reviewed An invitation is used once, and only by a person whose verified email is the one it names.

Limit · invitation-no-revoke A pending invitation cannot be withdrawn: there is no route, in the Studio or the API, to cancel it. It expires after 7 days. If a link leaked, wait it out, or remove the person once they joined (see Managing members). There is no command to list invitations either, other than GET /api/members (its invitations: email, role, expiry) and the Members panel.

Common errors

SymptomCauseFix
The person logs in and sees "Access not granted"The invitation expired, was used, or their verified email differsThe audit log says which (invitation-refused, reason). Invite again with the email the provider has
`email` is required (400)The address is empty or malformedGive a full address
`role` is owner, dev or reviewer (400)Another role nameUse one of the three
usage: studio-server invite --email <email> --role <owner|dev|reviewer> --config <file> (exit 2)A flag missing, or a flag where a value belongsGive both flags with values
this login has expired or was already used: start again (400)The login page was left open more than 10 minutes, or reloadedOpen the invitation link again

Files or data changed

A row in the database (studio_invitations: the email, the role, the hash of the token, its expiry), then a member row when it is accepted; two audit lines. No game file.

Recovery or going back

A wrong role is changed in Members… (see Managing members). A person who should not have joined is removed there.

References


Edit the source of this page · Report an error