Your Directory Decides Who Gets In
Workspace single sign-on through your own identity provider, over SAML 2.0 or OpenID Connect: a domain you prove with DNS, sign-in by work email, the MFA challenge still applied, and sign-out that travels both ways.
A microfinance institution in Kigali has sixty staff across three branches and one identity provider, Microsoft Entra ID, where IT manages every account, password rule and MFA method. When its external auditor asked which systems people could sign in to without going through Entra, the list had one line on it: AWRA, where everyone had a separate password. This sheet describes how that line was removed. AWRA now trusts the institution’s own identity provider, and when the provider says no, AWRA says no.
Proving the domain comes first
Before AWRA will send anyone to your identity provider, your workspace must prove it controls the email domain. The settings screen gives you a TXT record to add to the domain’s DNS. AWRA looks the record up, and the domain becomes verified.
The check is repeated every day. If the record disappears, because the domain lapsed, was sold or had its DNS rebuilt, the workspace’s security admins are warned by email and in the bell. If it is still missing seven days later, the domain is unverified and stops routing anyone to your provider. A single failed lookup changes nothing, because DNS has bad hours and the seven days absorb them.
Signing in by work email
-
Type a work email
The sign-in page takes the address and looks up its domain among verified domains. That finds the workspace and its connection.
-
Sign in at your provider
The browser goes to Entra, Okta, Google or whichever provider you connected, over SAML 2.0 or OpenID Connect, and signs in there under your provider’s own rules.
-
Come back and pass the same gates
The answer is checked, and then the sign-in goes through the same gates every other sign-in uses: a deactivated account is refused, a forced password change still applies, an expired plan still stops at billing, and the MFA challenge still runs.
The AWRA app uses the same flow. It opens your provider in the phone’s browser, and the sign-in returns to the app through a single-use code tied to the request the app made. For an organisation that has already locked phones down, this matters, as the app was the side door explains.
The first sign-in links the provider’s identifier to the account. After that, the identifier is the identity, not the email address.
Who the provider may sign in as
On a person’s first sign-in through the connection, the email address the provider sends must be on a domain this connection has verified. That rule stops an identity provider from claiming an address it does not own and landing in someone else’s account. An address that belongs to a different AWRA workspace is refused. After that first sign-in, AWRA recognises the person by the provider’s own identifier for them, so a renamed mailbox is still the same person.
With just-in-time provisioning on, someone IT has added to the directory gets an account on their first sign-in, with the connection’s default role or roles mapped from their directory groups. With it off, they must already have an account, and the sign-in says to ask an Admin. Group mapping only ever adds roles. Removing them belongs to an Admin, or to directory provisioning, covered in the leaver the directory already knew.
Making it the only way in
Two settings close the remaining doors. SSO required stops a password sign-in from being enough for the workspace. Own identity provider only goes further: the general Google and Microsoft buttons on the sign-in page no longer count either, so the only way in is through the provider your IT team runs. For the Kigali auditor, that was the answer to the question. The same rules reach the app, which is how the side door was closed.
Signing out, in both directions
Signing out of AWRA after a SAML sign-in also sends a sign-out to your provider, where the provider publishes a sign-out address. The reverse works too. When the provider ends someone’s session, because they signed out somewhere else or IT ended it, it tells AWRA. AWRA then ends the browser sessions that came in through that connection for that person, and records how many it ended. A sign-out message from the provider must be signed, or it is refused. A session the same person opened another way is left alone.
What is in place, layer by layer
SAML 2.0 and OpenID Connect
One connection per identity provider, configured by hand or by importing the provider’s metadata from a file or a URL.
A domain proved by DNS
A TXT record verifies the domain; a daily check warns security admins when it goes missing and unverifies the domain after seven days.
A test button
Reports the issuer an OpenID provider publishes, or reads a SAML provider’s certificate and shows the date it expires.
Signed answers, one workspace each
SAML answers must be signed, each connection is its own service provider, and an answer meant for one workspace cannot be replayed at another. Encrypted assertions can be required per connection.
OpenID Connect checked in full
The code flow with PKCE, and the ID token checked for signature, issuer, audience, expiry and nonce.
A sign-in bound to its browser
A SAML sign-in completes only in the browser that started it, so an answer obtained elsewhere cannot sign someone in as somebody else.
The same gates as every sign-in
Deactivation, forced password change, plan expiry and the MFA challenge all apply after the provider says yes.
Just-in-time accounts and group roles
Optional account creation on first sign-in, a default role, and directory groups mapped to roles that only ever add.
SSO required, own provider only
Two policy settings that make your provider the only way into the workspace, on the web and in the app.
Single sign-out both ways
Leaving AWRA signs out of the provider; a signed sign-out from the provider ends the matching AWRA sessions and is logged.
The app on the same connection
The phone signs in through the provider in its browser and returns with a single-use code tied to its own request.
Positions held on purpose
- SAML sign-ins that start at the provider, from a tile on its app dashboard, are refused. Every answer must reply to a request AWRA made, which is what makes each one single-use. Users start at AWRA’s sign-in page, and their provider tile can point there.
- The MFA challenge still runs after a provider sign-in. If your provider already demands MFA, people see a second prompt. We keep that, because AWRA cannot see what your provider actually checked.
- Directory groups add roles and never remove them. A role an Admin granted by hand is not the provider’s to take away.
- An email address belongs to one workspace. A provider cannot move a person into your workspace from someone else’s.
Five questions for any system that offers single sign-on
How do you know the domain is ours?
A good answer sounds like
You prove it, and keep proving it.
What ours actually is
A DNS TXT record, checked daily, with the domain unverified after seven days missing.
Does single sign-on skip your own security checks?
A good answer sounds like
No.
What ours actually is
Deactivation, forced password change, plan expiry and MFA all still apply.
Can we stop people using a password instead?
A good answer sounds like
Yes, by policy.
What ours actually is
SSO required, and own identity provider only to rule out the general Google and Microsoft buttons too.
When our provider ends a session, does yours end?
A good answer sounds like
Yes, if the message is genuine.
What ours actually is
A signed sign-out ends the matching sessions and is logged with the count.
Does the mobile app follow the same rules?
A good answer sounds like
Yes.
What ours actually is
The app signs in through your provider in its browser and passes the same gates.
Our take
Single sign-on is only as strong as the checks around it. The provider’s answer tells AWRA who someone is. Proving the domain, binding the answer to one workspace and one browser, running the usual gates afterwards, and honouring a sign-out from either side are what make it safe to trust. For an organisation whose auditor wants one list of who can get in, AWRA can now sit inside that list rather than beside it.
Connect your identity provider
Workspace single sign-on, provisioning and the rest of the security controls, in one settings area.
Explore single sign-on & SCIMFrequently asked questions
Which identity providers can we connect?
Any provider that speaks SAML 2.0 or OpenID Connect, including Microsoft Entra ID, Okta and Google Workspace.
How do we prove we own the email domain?
Add the TXT record the settings screen gives you to your domain’s DNS. AWRA checks it when you verify and again every day after that.
Does our existing MFA replace AWRA’s?
No. The AWRA MFA challenge still runs after a provider sign-in for people who have it set up, because AWRA cannot see what your provider checked.
Can we stop people signing in with a password?
Yes. Turn on SSO required, and turn on own identity provider only if the general Google and Microsoft sign-in buttons should not count either.
Can people start from the tile on our provider’s dashboard?
Not directly. SAML sign-ins that start at the provider are refused so every answer replies to a request AWRA made. Point the tile at the AWRA sign-in page instead.
Does the mobile app use our single sign-on?
Yes. The app opens your provider in the phone’s browser, and the same gates apply when it returns.