Connect a customer identity provider
Connect an existing customer login to Fermium apps, pages, Agent chats, or guest spaces.
Use a visitor directory when your application already knows who a customer is and you want that person to open resources in Fermium. A login identifies one person within the directory. The publisher grants access to each resource and selects which personal records, downloads or functions that person can use. Team includes directories. Business includes guest spaces. Choose a customer access model.
Connect Google or an OpenID Connect provider
In Settings → Visitor directories, select a directory and an identity source. Google supports Fermium’s web OAuth client or a client registered by your company. When using your own, supply the web client ID and secret, and register the exact callback URL shown for Google. The same Google callback works across directories on the instance. Your Google Cloud project controls the consent screen shown by Google. Google OpenID Connect.
For another OpenID Connect provider, enter its HTTPS issuer, client ID, secret and token endpoint authentication method. Register that directory’s displayed callback. Fermium discovers the provider, uses the authorization code flow with PKCE and checks the ID token’s signature, issuer, audience, nonce and expiration. A returning person is recognized by the stable issuer and subject. A changed email address preserves record ownership. Linking a second sign-in method to an active account requires fresh proof of control of both methods.
Choose Anyone to allow eligible personal Google accounts. Choose Organizations and enter approved domains to require an attested organization. Google uses the verified hosted-domain claim. With a generic provider, configure the trusted organization claim. A matching email domain alone grants no staff membership. Use the staff chat integration when an existing Fermium member needs their Agent and SOP permissions. Agent sessions and hosted work.
Test a provider registration
To test a saved provider before publishing, open Identity sources and choose Test sign-in. Complete sign-in with the customer account you want to check. The result shows the directory signup rule, its outcome, and when the test finished. A test creates no visitor account or session. A customer's access to each resource still depends on that resource's grants.
Hand off from your own customer database
Choose Signed handoff when your backend authenticates customers itself. Configure its issuer, browser launch URL and Ed25519 public key. Keep the private signing key on the customer backend. The directory’s Identity sources response at GET /api/visitor-directories/{directory_id}/auth includes the exact handoff, callback and status URLs for the installation.
- The visitor starts from the Fermium resource and chooses the customer portal. Fermium sends the browser to the configured launch URL with
state,nonce,resource_kind,resource_id,directory_id,audienceandcallback. Configure your backend with the expected audience and callback. - After checking the user’s session and current account status, your backend submits
{"assertion":"<signed JWT>"}to the configuredhandoff_url. Use EdDSA and the header typefm-visitor-handoff+jwt. Include your issuer, immutable subject, exact audience, uniquejti,iat, andexpwithin 90 seconds of issuance. Bind the originalstate,nonce,resource_kindandresource_idin the signed claims. Includeemail_verified: trueonly after verifying the address. Add your configured organization and group claims if required. - Redirect the same browser to the returned
return_url. Its one-time code lasts 60 seconds. Fermium verifies the initiating browser and checks the destination grant before establishing the visitor session.
Visitor sessions last at most four hours. OIDC sessions can expire earlier with the provider’s ID token. For a quicker disable, POST a fresh EdDSA assertion to the configured status_url, using header type fm-visitor-status+jwt. Include the same issuer and subject, the status URL as audience, source, boolean active, iat, exp and a unique jti. Use the method query parameter for a Google or OIDC connection configured with a status verification key. An accepted disable takes effect on the next protected request, including for a subject that has never signed in. Older events cannot reverse a newer disable. Restoring an account requires a fresh sign-in.
Rotate keys and receive provider events
Under Signing keys, use Rotate signing key to register a new Ed25519 public key before the transmitter starts using it. Both keys work during the selected overlap. The source shows each key ID and the old key's retirement time. Retire now also ends existing visitor sign-ins for that directory.
For automatic account disables, session revocation and mapped group updates, connect a signed event feed in directory settings. The panel shows when a change occurred at the provider and when Fermium received it. Send customer identity events.
Returning with a passkey
A customer can enroll a passkey after a fresh managed email-link or password sign-in to an eligible resource. The passkey belongs to that directory account and preserves its record ownership. Recovery uses the same managed sign-in. A linked provider still controls its verification deadline and can withdraw access. Organization-only signup continues to require the organization's proof.
Authenticate an app integration
An app publisher issues keys in the app’s access settings. Select named tables and allowed actions. The full credential is shown at issue or rotation. Call the app origin with Authorization: Bearer <app-key> at /api/visitor-apps/{app_id}/tables/{table_id}/records. A service key can append operational rows through POST with {"data":{...},"idempotency_key":"<your-event-id>"}. The optional idempotency key makes retries safe. Service-only rows appear to staff.
Connect a customer from an outside portal
- When issuing a publisher-managed key, register the portal’s exact HTTPS return URL and copy the Customer connection link. Store the key on your backend.
- When the customer chooses Connect, generate a fresh random
state, bind it to their portal session and add it to the connection link. Fermium shows the signed-in customer which app, tables and actions the connection requests. - After approval, the registered return URL receives a
codeand yourstate. Verify the state against the original portal session. Your backend has 60 seconds toPOST /api/visitor-apps/{app_id}/delegations/exchangewithAuthorization: Bearer <app-key>and{"code":"<one-time-code>"}. A portal without a return URL can let the customer copy the code from Fermium. - Send the resulting five-minute
proofinX-Fermium-Visitor-Proofalongside the key when calling the records API. The consent screen shows the table actions this customer can authorize. The proof retains that selection. A newly granted table or action requires fresh consent, and a revoked permission stops working immediately. The API also rechecks key rotation and the visitor’s live session.
A customer using a CLI can open the app’s Personal keys screen at /d/_visitors/app/{app_id}/personal-keys, select tables and actions, and revoke the key there. A self-issued key is bound to that customer’s original browser session. The same path accepts an authenticated JSON POST when used by the trusted Fermium origin.
A successful login, grant, or app key never adds a visitor to the workforce. A company’s staff embedding an Agent chat use the linked-member integration. A shared customer identity opens only the apps, pages, chats and spaces to which the publisher has granted access.
Plan for several products
A single directory session can serve every resource that grants that directory access. A browser also remembers up to six independent directory sessions. Signing out from the visitor interface ends the sessions held by that browser. Blocking an account in its directory ends its access across devices.
Use a group or directory grant for a large audience. A resource accepts up to 100 grants, and directory, group and customer searches support cursor pagination. Stable provider subjects let a customer change their email address without losing record ownership. An administrator can make a local directory reusable when a second product needs it.