App authentication
Choose how your app's users sign in, manage those users and their roles, and add single sign-on, tenants, branding and sign-in email.
App authentication controls how people sign in to the apps on your workspace's Shell site, and to standalone apps with sign-in. It's optional: you don't need it to create apps or deploy Coderunners, and it never affects how your team signs in to the Client Portal.
Choose a sign-in mode
| Mode | Your users sign in with | Use it when |
|---|---|---|
| None | Nothing | Your apps are public, or handle access themselves |
| Groundfloor | A sign-in page Groundfloor hosts for your workspace, with users, roles, single sign-on and branding managed here | You want sign-in without running an identity provider |
| External | Your own OpenID Connect provider, such as Okta, Microsoft Entra ID or Auth0 | Your users already have accounts there |
Open App authentication
In the Client Portal, go to Administer → App authentication and pick the workspace.
Choose a mode
On Settings, choose the mode. For External, enter your provider's issuer URL and client ID; register https://<your-shell-site>/* as a redirect address with your provider. Each environment has its own Shell site (rolling out), so register the dev and staging sites too, such as https://<workspace-slug>.dev.app.groundfloor.cloud/*; see A Shell site for each environment.
Save
Groundfloor mode takes a moment to set up. When it's ready, the Users, Roles, SSO and Branding tabs appear.
You need the Admin or Owner role in the workspace.
If setup doesn't finish
Sometimes Groundfloor can't finish setting up the workspace's sign-in. The status badge then reads Setup failed, and the page shows Sign-in setup didn't finish with the reason and the time of the next automatic try. Until setup finishes, people can't sign in to the workspace's apps.
| Reason shown | What it means |
|---|---|
| Sign-in isn't set up on this platform yet | Contact support |
| The sign-in service couldn't be reached | A temporary problem; Groundfloor tries again |
| The sign-in service refused the setup | Contact support if it keeps failing |
You don't have to do anything: Groundfloor tries again automatically, after 15 minutes, then waiting twice as long each time, up to once a day, and doesn't give up. Admins and Owners can press Try again now to try straight away; it takes a moment, and the page updates when sign-in is ready.
Turn sign-in off, or delete it
Switching from Groundfloor to None or External stops sign-in straight away, but keeps your users, roles and settings: switch back and they return. To remove them for good, turn sign-in off first, then use Delete Groundfloor login and type the workspace's name. Access grants and M2M tokens are kept either way.
Users
With Groundfloor mode, manage your app's users on the Users tab:
| Option | Use it when | Email sent |
|---|---|---|
| Invite user | They should set their own password | Yes, an invitation with a link to set their password. The link works for 72 hours |
| Add user | They should be able to sign in straight away | Yes, with their sign-in address and role (never the password) |
With Add user, choose Generate a temporary password (recommended) or type one yourself. A generated password is shown once, with the sign-in link, so you can share both privately; it isn't stored and can't be shown again. The user must change it the first time they sign in.
Give each user a role, such as viewer, user or admin. You can also disable users, send a password reset, change roles and remove users there.
App users are separate from your team. They never appear on Team and get no access to the Client Portal or your workspace's settings.
You can't invite or add someone who can already sign in to the workspace, with a password or with single sign-on: the Client Portal says so. Send them a password reset instead.
Check that the invitation arrived
The Status column shows Invited until the user sets a password, with a line under it about the email:
| Line | Meaning |
|---|---|
| Invite sent … ago | The mail server accepted the email |
| Email not sent | It wasn't sent. The reason is shown underneath, for example the mail server refused it, email isn't set up for the workspace, the workspace reached its email limit, sending is paused, or the address is on the list of addresses we won't email |
| Delivery unconfirmed | The mail server didn't answer in time. The email may still arrive |
| No email sent | The invitation was made without an email |
| Delivery not recorded | The user was invited before Groundfloor recorded delivery. Resend to be sure |
| Temporary password set … , not used yet | You gave them a temporary password and they haven't signed in with it yet |
| Invite link active until … | A one-time invite link is waiting to be used |
If the invitation doesn't arrive
While a user is Invited, their row offers three ways in:
- Resend sends the invitation email again. You can resend once a minute, and up to 5 times in a day. Inviting the same person again counts as a resend. If the workspace has reached its email limit, the Client Portal says how long to wait.
- Temp password replaces the invitation with a generated temporary password that you share privately. It's shown once. The user must change it the first time they sign in. You can also use it again while they still haven't used their temporary password.
- Copy link makes a one-time invite link and copies it. Send it to the user privately: anyone with the link can set this person's password. They open it, choose their own password and then sign in. The link works once and for 24 hours. Making a new link cancels the previous one, and Cancel link cancels it straight away.
Once someone has set their own password, use a password reset instead.
Roles
On the Roles tab, create your own roles alongside the built-in viewer, user and admin. A role decides which apps, data and files a user can reach once you grant it access on Site access. The built-in admin role is granted like any other role: new collections and Files start with an admin grant, and you can change or remove it.
These roles are for your app's users only; they're unrelated to your team's Owner, Admin and Writer roles.
A user's roles travel in their token's realm_access.roles claim, so your app's backend can read them there after checking the token. See Who can reach your Service.
Data access is per collection, not per record
A role's grant on a collection applies to every record in it: anyone whose role can read a collection sees all of its records, write lets them update any of them, and delete lets them delete any of them.
If users must see or change only their own records, don't give their roles any grant on that collection: a user who can read it can query the whole collection with their own token, bypassing your app. Have your app's backend (for example a Coderunner) do it instead. The backend checks the signed-in user's token (see Who can reach your Service), reads and writes the collection with a machine-to-machine (M2M) client, which collection grants don't limit, and returns or changes only that user's records. Store and match records by the sub claim of the token it verified (the user's ID, with Groundfloor and External sign-in), not by external_user_id; see Use sub as the user's ID. See Who can use a collection. Per-record access for app users is planned.
Standalone apps
With Groundfloor mode, each standalone app can sign your users in with its own sign-in client, app-<app-id>, and its backend accepts only tokens issued to that app. This is rolling out. The app's Authentication card, under Build → Apps, shows its client ID, issuer and allowed addresses. See Standalone app sign-in.
Every user of the workspace can sign in to every standalone app, so each app's backend must check the user's roles.
Shell apps don't get a sign-in client: users sign in to the Shell site. With Groundfloor mode, a Shell app swaps the user's Shell site token for an app token for its own backend (rolling out). See Get a token for your own backend.
With External mode, Groundfloor doesn't create sign-in clients for your apps: register them with your own provider.
Single sign-on
On the SSO tab, connect an OpenID Connect or SAML provider so users can sign in with an existing company account, while Groundfloor keeps managing your users. Use Test login before rolling it out. Role names in the provider's tokens must match the roles you grant on Site access.
Tenants
If your app serves several customer companies, turn on Multi-tenant on Settings. A Tenants tab appears, where you create a tenant per customer, add or invite its users and give it its own single sign-on. Sign-in then asks for the email first, then the password or the company's sign-in.
Each user's token carries their tenant in the organization claim. Tenants separate who signs in; your app keeps each tenant's data apart using that claim. Site access, data, files and M2M tokens stay shared across the workspace. See Sign-in and users.
Your own domain
By default your Shell site is https://<workspace-slug>.app.groundfloor.cloud. To use your own domain, enter it on Settings and save, then create the CNAME record shown. Root domains such as example.com need an ALIAS or ANAME record. Once your DNS is live, a certificate is issued automatically, usually within a couple of minutes. Your apps then open at https://<your-domain>/apps/<app-slug>. Your own domain serves your prod apps; dev and staging keep their own addresses (rolling out).
Branding
On Branding, set the sign-in page's display name, logo, background and accent colour.
Sign-in email
Invitations, password resets and email verification are sent for you by default, with Groundfloor email. There's nothing to set up: emails come from a Groundfloor no-reply address, with your organization's name as the sender.
To send from your own domain instead, open Branding → Email sending and choose Your own email server. Enter the sender name and sender email, the mail server, the port (25, 465, 587 or 2525), the username and password, and whether to use SSL or STARTTLS. The mail server, port and sender email are required. Use Send test email to check the settings: it sends a short message to your own email address, which must be verified. Then Save.
- If your own server fails, the email isn't sent and the Client Portal tells you so. Groundfloor email isn't used as a fallback.
- If you change the mail server or port, enter the password again.
- Switching back to Groundfloor email removes your saved server settings and password.
Sending limits
To protect delivery for every workspace, sign-in email is limited. Invitations, resends, added-user emails, password resets you send and test emails all count. These are the usual limits; Groundfloor can set different ones for a region or for your workspace, and Email sending shows the ones that apply to you:
| Limit | Per hour | Per 24 hours |
|---|---|---|
| Whole workspace | 200 | 1,000 |
| Each email address in the workspace | 5 | 10 |
- The windows are rolling: an email stops counting an hour, or 24 hours, after it was sent. An invitation is two emails: the set-password email and the invitation details.
- The limits apply with Groundfloor email and with Your own email server.
- Invitations to your team in the Client Portal aren't limited.
- If your workspace needs higher limits, contact support.
Admins and Owners see how much is used at the top of Branding → Email sending, for example "Sent this hour: 12 of 200 · today: 140 of 1,000", with the per-address limit underneath.
When a limit is reached:
- Invite user and Add user still create the user, but no email is sent: "Email limit reached for this workspace". Give them access with Copy link or Temp password, or Resend later.
- Resend and Send test email are refused, with how long to wait.
- If you send a test email to an address on the list of addresses we won't email, it isn't sent and the Client Portal says why.
- The workspace's Owners get an email the first time the workspace limit is reached, at most once an hour.
Addresses we won't email
With Groundfloor email, when an email to an address bounces permanently or the person reports it as spam, Groundfloor stops emailing that address from your workspace. Invitations and other sign-in emails to it aren't sent ("This address bounced or reported spam before"), so your workspace can keep sending to everyone else.
Admins and Owners find these addresses under Branding → Email sending, in Addresses we won't email. Each shows part of the address, why it's there (Bounced or Reported as spam) and when it was first and last seen. To find one, type the full address and choose Find.
To email an address again, choose Remove from list. Only do this if you've confirmed the address is correct and the person wants your emails.
- Enter the full address in the dialog to also clear it at our email provider. Without it, we only remove it from the list on this platform, and the provider may still refuse to deliver.
- An address that reported spam can only be cleared at the provider by Groundfloor support. Removing it yourself clears it on this platform only; contact support if emails to it still don't arrive.
If sending is paused
Groundfloor pauses a workspace's Groundfloor email automatically when too many of its emails fail:
- 5% or more of its emails bounce permanently over 24 hours (once there are at least 50 emails and 10 bounces), or
- 0.1% or more are reported as spam over 7 days, by at least 3 different people.
When that happens, the workspace's Owners and Groundfloor are emailed once, with why it was paused and what to do, and a red banner shows under Branding → Email sending. Before it gets that far, Owners are emailed a warning and an amber note asks you to check the addresses you're inviting.
While sending is paused:
- No sign-in email is sent. Invitations show Email not sent with "Email sending is paused for this workspace", and Send test email is refused.
- Users who choose Forgot password on your sign-in page get an error instead of an email.
- Give users access with Copy link or Temp password.
Groundfloor can also pause sending by hand; the banner then says so, and no email is sent to Owners. Only Groundfloor can resume sending: contact support. Check and correct the addresses you've invited first. You can also switch to Your own email server, which isn't paused; switching back to Groundfloor email keeps it paused until Groundfloor resumes it.
With Your own email server, bounces, spam reports and pausing are handled by your own email provider. The sending limits still apply.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| No Users, SSO or Tenants tab | The mode isn't Groundfloor, setup hasn't finished, or Multi-tenant is off | Choose Groundfloor and wait; turn on Multi-tenant for Tenants |
| Setup failed, "Sign-in setup didn't finish" | Groundfloor couldn't finish setting up sign-in | Wait for the next automatic try, or press Try again now. See If setup doesn't finish |
| Invitation or password emails aren't sent | Your own email server is failing | Use Send test email under Branding → Email sending, then fix the settings or switch to Groundfloor email |
| A user never got their invitation | The email wasn't sent or was lost | Check the line under Invited, then use Resend, Temp password or Copy link. See If the invitation doesn't arrive |
| Invite email not sent: "Email limit reached" | The workspace or that address reached its sending limit | Use Copy link or Temp password, or Resend after the wait shown |
| Invite email not sent: "Email sending is paused" | Too many emails bounced or were reported as spam | Use Copy link or Temp password, check the addresses, and contact support to resume. See If sending is paused |
| Invite email not sent: "This address bounced or reported spam before" | The address is on the list of addresses we won't email | Check the address with the user; if it's correct, remove it from the list |
| "You can resend once a minute and up to 5 times a day" | You've hit the resend limit | Wait, or use Temp password or Copy link |
| Inviting or adding a user is refused because they can already sign in | They already have a password or single sign-on | Send a password reset from their row |
| A user says the invite link is no longer valid | It was used, cancelled, replaced or is more than 24 hours old | Make a new one with Copy link |
| External sign-in fails | The issuer, client ID or redirect address is wrong | Check them against your provider's settings |
| A user can't see a collection | Their role has no grant | Grant it on Site access |
Next steps
- Site access — what each role can reach.
- Sign-in and users — use the signed-in user in a Shell app.
- Standalone app sign-in — sign users in to a standalone app.
- Workspace auth API — manage sign-in from code.