Guest access
Decide whether a frontend's backend may commit transactions for people who are not signed in.
Studio roles: "Owner" and "Administrator", and Studio users with the permission set "Frontends: manage". With "Frontends: read" you see whether guest access is on, without changing it.
A frontend's backend usually commits a transaction, such as a redemption, for a frontend user who is signed in. A guest call is one without a signed-in frontend user: the backend sends its frontend key alone and commits for an applicant, for example a person who proves their membership with their member code. Guest access decides whether that frontend may make guest calls. A new frontend starts with it off, and each frontend has its own switch.
Which frontends can take guest calls
Only a frontend with a backend of its own, which keeps its frontend key secret: the app type "Web app" or "Server". A single-page app, a mobile app or a desktop app runs on the person's device and cannot keep a key secret, so guest access stays off for them. A frontend gets its app type with its sign-in settings; a frontend without one, such as an external frontend, cannot switch guest access on either.
Switch guest access on
- Open "Frontends" and choose the frontend.
- Under "Guest access", switch on "Allow guest calls".
- Choose "Save guest access".
From then on, the frontend may make guest calls. Switch it on only for a frontend whose backend checks who it calls for: anyone who holds its frontend key may then commit transactions for people who are not signed in.
Switch guest access off
- Under "Guest access", switch off "Allow guest calls".
- Choose "Save guest access".
From then on, the frontend may make no guest calls. Calls for signed-in frontend users are not affected. Every change is recorded with who made it.
A disconnected frontend keeps its switch, but makes no guest calls, as its frontend keys are refused until you reconnect it.