Sign-in methods & single sign-on
Section titled “Sign-in methods & single sign-on”This page is for tenant administrators. It explains the ways people can sign in to OSOS, which of them you switch on yourself in Administration, and which need your operator. It ends with a complete, step-by-step task for setting up single sign-on with Microsoft Entra ID (formerly Azure AD), or with any other identity provider that supports OpenID Connect.
How it works
Section titled “How it works”Everyone signs in on the same sign-in page. What that page offers depends on the domain, the web address people use to open OSOS (for example portal.example.com). Each domain has its own sign-in settings, so an organization can, for instance, let staff sign in with their company account on its staff address while external partners use a password on a second address.
A domain can offer any combination of these:
| Sign-in option | What people do | Who switches it on |
|---|---|---|
| Password | Type a username or email and a password. | You, per domain. |
| Passkey | Use the device’s fingerprint, face or PIN instead of a password. | You turn passkeys on per domain; each person then creates their own passkey. |
| Second-factor code | After the password, type a one-time code sent by text message, email or WhatsApp, or shown in an authenticator app. | You, per domain (text message, email). WhatsApp depends on your messaging settings. People turn on an authenticator app themselves. |
| Single sign-on (SSO) | Select a button such as Sign in with Contoso and sign in with the company account they already have. | You prepare it with whoever manages your company identity provider; your operator connects it to OSOS. |
Example. Contoso uses Microsoft Entra ID for all staff. Its administrator registers OSOS in Entra, hands the connection details to the operator, and then switches off passwords on the staff domain. From then on, staff open the portal, are taken straight to the Microsoft sign-in page, and arrive back in OSOS already signed in. Microsoft’s own security rules (such as Entra’s multi-factor authentication) protect the account.
Choose how people sign in on a domain
Section titled “Choose how people sign in on a domain”You change the sign-in options of a domain by editing the domain’s record. There is no separate screen for sign-in settings.
- Open Administration › Applications › Data Entities and open the Domain entity.
- Open the domain you want to change. A new installation has one, called Default Domain. Its Host list shows the web addresses that belong to it.
- Select Edit, set the options below, and then select Save.
| Field | When it is on |
|---|---|
| Support Local Sign in | The sign-in page shows the username and password form. |
Support Passkey Since 1.6 | The sign-in page shows Use Passkey, and people can add passkeys to their account. |
SMS 2FA Since 1.6 | After their password, people must type a code sent to their phone by text message. |
Email 2FA Since 1.6 | After their password, people must type a code sent to their email address. |
Allow Password Step-Up Since 1.8 | People who have no second-factor method can confirm with their password before they see a protected value. See Revealing a masked sensitive value. |
The change applies to the next sign-in on that domain. People who are already signed in are not signed out.
Technical details
A domain’s sign-in options are copied to the sign-in service whenever the domain record is saved. The domain that applies to a sign-in is the one whose Host list contains the address of the app the person is signing in to. Domains that are still in use by views or reports cannot be archived.
Second-factor options
Section titled “Second-factor options”A second factor asks people to prove who they are a second time after they type their password. The sign-in page offers every method that applies to the person, and shows first the one they used last time on that account. Since 1.8 That choice is remembered for each account, not for each browser, so people who share a computer each get their own default.
- Authenticator app. People turn this on themselves on their Security page (Two-factor authentication › Enable authenticator app). After that they are always asked for a code, whatever the domain settings. See Account security.
- Text message (SMS) and email codes. Turned on per domain with SMS 2FA and Email 2FA. A person who asks for too many codes in a short time has to wait a few minutes before asking again. A code that was typed wrong too many times stops working, and the person can select Resend Code.
- Passkeys. When Support Passkey is on, people can add a passkey on their Security page and use it either to sign in or as their second step.
WhatsApp codes Since 1.10
Section titled “WhatsApp codes Since 1.10”OSOS can also send sign-in codes by WhatsApp. WhatsApp is offered when both of these are true:
- Your organization has WhatsApp sign-in codes set up. This is part of the WhatsApp settings in your System Settings: a connected WhatsApp business number, WhatsApp listed as an allowed code channel, and an approved sign-in code message template. In 1.10 there is no dedicated screen for these settings. See WhatsApp settings block.
- The person has a verified phone number on their account.
When someone could use both text message and WhatsApp, your WhatsApp settings decide which is shown first. A WhatsApp code works only on WhatsApp, and a text-message code works only by text message. If WhatsApp cannot be used for a sign-in, the person is never let in without a second factor. Someone whose only method was WhatsApp cannot sign in until it works again.
Messages that are not sent show up in the WhatsApp message log. See WhatsApp channel.
Set up single sign-on with Microsoft Entra ID
Section titled “Set up single sign-on with Microsoft Entra ID”Single sign-on lets people sign in with the account your company already manages in Microsoft Entra ID. Setting it up is shared work:
| Who | Does what |
|---|---|
| You (tenant administrator) | Decide the rules, fill in the worksheet, choose the domains, and test. |
| Your Entra administrator (often you) | Registers OSOS as an application in Microsoft Entra and creates a client secret. |
| Your operator | Adds the provider to the OSOS sign-in service using the worksheet. In 1.10 this cannot be done from Administration. |
Before you begin
Section titled “Before you begin”- You need access to the Microsoft Entra admin center, with permission to register applications, or someone who has it.
- You need a contact with your OSOS operator, and a secure way to send them a secret, such as a password manager or encrypted message. Do not send a client secret in plain email or chat.
- Decide what happens to people who already have a OSOS account, and to new people, as described in step 1.
Step 1: Decide the rules
Section titled “Step 1: Decide the rules”Agree these with your operator before anyone registers anything. They go into part C of the worksheet.
- A short provider name. Use lowercase letters only, for example
entra. It becomes part of the sign-in address registered in Entra, so changing it later means updating Entra too. - The button text, for example Contoso. The sign-in page shows Sign in with Contoso under Sign in to your account using. You can supply a logo image address instead of the text.
- The domains where the button appears. Identify them by name and Host.
- People who already have an account. OSOS recognizes a person by the email address their Entra account reports. Choose one option:
- They were imported from Entra by directory sync. They are recognized automatically, with no extra step. See Directory sync.
- Ask them to link their account once. The first time they use the button, OSOS asks for their current password and shows Link my account. After that, the button signs them in directly.
- Do neither. People with an existing password account are refused when they use the button.
- People who have no account yet. Either refuse them (you create their accounts first), or create their account automatically. If you create accounts automatically, choose the User Group and the Space that new people join, and optionally a rule such as “only email addresses that end in @contoso.com”.
- Keep profiles up to date. Choose whether OSOS should copy the person’s name and email from Entra every time they sign in, or only when the account is created.
Step 2: Get your sign-in address
Section titled “Step 2: Get your sign-in address”Entra needs to know where to send people back after they sign in. That address is built from your sign-in server address and the provider name:
https://<sign-in server address>/ext-auth/<provider name>/redirectFor example: https://identity.contoso.com/ext-auth/entra/redirect.
Ask your operator for the sign-in server address. You can also check it yourself: open the sign-in page and look at the browser’s address bar, which shows the sign-in server’s address. Use exactly that host, with https:// and no trailing slash.
Step 3: Register OSOS in Microsoft Entra ID
Section titled “Step 3: Register OSOS in Microsoft Entra ID”Microsoft changes the admin center from time to time. If a label below does not match, see Microsoft’s guide to registering an application.
- In the Microsoft Entra admin center, open App registrations and select New registration.
- Give it a name people will recognize, such as OSOS portal.
- Under Supported account types, select Accounts in this organizational directory only, unless you deliberately want accounts from other organizations to sign in.
- Under Redirect URI, choose the Web platform and paste the address from step 2. Do not choose Single-page application.
- Select Register. On the overview page, copy the Application (client) ID and the Directory (tenant) ID into the worksheet.
- Open Certificates & secrets, select New client secret, and choose an expiry. Copy the secret’s Value immediately, because Entra shows it only once. Record its expiry date.
- Open API permissions. Make sure the Microsoft Graph delegated permissions
openid,profile,emailandUser.Readare present. If your organization requires it, select Grant admin consent.
Step 4: Hand the worksheet to your operator
Section titled “Step 4: Hand the worksheet to your operator”Send the completed worksheet to your operator, with the client secret sent separately through your secure channel. The operator adds the provider to the sign-in service and links it to your domains. It takes effect at the next sign-in, and no restart is needed.
Step 5: Test it
Section titled “Step 5: Test it”- Open the portal on one of the chosen domains in a private browser window.
- Check that the sign-in page shows Sign in to your account using with your button, for example Sign in with Contoso.
- Select the button, sign in with a test Entra account, and confirm that you return to OSOS signed in as the right person.
- Test the cases you chose in step 1. Use an existing account (it should be recognized, or asked to link once), and a brand-new person (they should get an account in the chosen group and space, or be refused).
- Sign out and check that you are also signed out of Microsoft.
If something fails, see Troubleshooting.
Step 6 (optional): Make single sign-on the only way in
Section titled “Step 6 (optional): Make single sign-on the only way in”When everyone on a domain can sign in through Entra, you can turn off the other options:
- Edit the domain (see Choose how people sign in on a domain) and turn off Support Local Sign in and Support Passkey.
Since 1.10If single sign-on is now the only option on that domain, and your sign-in page has no sign-up link, people skip the sign-in page completely and go straight to Microsoft. The page, and its Cancel link, are no longer shown. Your operator can turn this skip off if you prefer to show the page every time. A sign-up link also keeps the page visible; see Organization settings.
Other identity providers
Section titled “Other identity providers”The same steps work with other identity providers that support OpenID Connect or OAuth 2.0 sign-in with a client secret, such as Okta, Google Workspace or a national digital ID. Each provider uses its own terms, but you collect the same things: the provider’s sign-in and token addresses, a client ID and secret, the scopes to ask for, the address of the user’s profile, and which profile fields hold a stable ID, the email address and the name. Register the same redirect address from step 2.
Single sign-on worksheet
Section titled “Single sign-on worksheet”Copy this table, fill it in, and send it to your operator. Send the client secret separately.
| # | Item | Your value |
|---|---|---|
| A | Sign-in server | |
| A1 | Sign-in server address (from your operator) | https:// |
| A2 | Redirect address registered in Entra | https://<A1>/ext-auth/<C1>/redirect |
| B | From Microsoft Entra ID | |
| B1 | Directory (tenant) ID | |
| B2 | Application (client) ID | |
| B3 | Client secret | (sent separately) |
| B4 | Client secret expiry date | |
| B5 | Permissions granted (openid profile email User.Read) | yes / no |
| B6 | Accounts without a mailbox: use the sign-in name (user principal name) as the email? | yes / no |
| C | Your decisions | |
| C1 | Provider name (lowercase, for example entra) | |
| C2 | Button text, or logo image address | |
| C3 | Domains where the button appears (name and host) | |
| C4 | Existing accounts: imported by directory sync / link once with password / neither | |
| C5 | New people: refuse / create automatically | |
| C6 | If created automatically: User Group, Space, and any rule (for example, the email domain) | |
| C7 | Update name and email from Entra at every sign-in? | yes / no |
| C8 | Optional: your own wording for error messages | |
| C9 | After testing, turn off passwords on these domains? | yes / no |
What people experience with single sign-on
Section titled “What people experience with single sign-on”Security page for single sign-on users Since 1.8
Section titled “Security page for single sign-on users Since 1.8”People who sign in through an identity provider manage their password and second factor there, not in OSOS. On their Security page, in place of the two-factor and Passkeys tabs, they see: “Two-factor authentication and passkeys for this account are managed by your organization’s identity provider.” They also cannot change or reset a OSOS password.
OSOS does not ask single sign-on users for its own second-factor code. If you want a second factor for them, set it up in your identity provider (for example, with Microsoft Entra Conditional Access).
Signing out
Section titled “Signing out”Signing out of OSOS also sends people to the identity provider’s sign-out page, so they are signed out there too.
Opening a specific provider directly Since 1.10
Section titled “Opening a specific provider directly Since 1.10”A link into OSOS can name the provider to use, so that people skip the provider choice and go straight to it. This is useful on an intranet page, for example. The portal’s sign-in link supports this. See Signing in & choosing a Space. The link uses the provider name (C1 in the worksheet), not the button text. If the name does not match a provider on that domain, the normal sign-in page appears.
Good to know
Section titled “Good to know”Cancel on the sign-in page Since 1.4
Section titled “Cancel on the sign-in page Since 1.4”The sign-in page has a Cancel link. It ends the sign-in and returns the person to the app they came from, which for the web portal is its home page. If the sign-in page is left idle for 10 minutes, it cancels itself the same way.
Password reset links Since 1.4
Section titled “Password reset links Since 1.4”When someone selects Forgot password?, OSOS emails them a reset link:
- The link works for 24 hours by default. Your operator can change this.
- Asking again sends a new link and the old one stops working. Only the newest link is ever valid.
- OSOS keeps only a scrambled fingerprint of the link, so the working link exists only in the email. The copy in the email log shows
[redacted]in its place. See Reset and API tokens stay out of the email log. - People who sign in through single sign-on cannot reset a OSOS password.
After an upgrade to a release with this protection, reset links that were sent before the upgrade stop working. People simply request a new one.
Locked and deactivated accounts
Section titled “Locked and deactivated accounts”Repeated wrong passwords lock an account for a while. A deactivated user cannot sign in by any method. To protect against password guessing, the password pages also limit how many attempts can come from one place in a short time. People who hit the limit see an error and can try again after about 15 minutes.
Sign-in history
Section titled “Sign-in history”OSOS records every sign-in attempt, both successful and failed, including how the person signed in and whether a second factor was used. People can review their own recent sign-in attempts on their Security page. See Sessions & sign-in attempts.
When your organization shares a deployment Since 1.10
Section titled “When your organization shares a deployment Since 1.10”On a deployment that serves several organizations, each organization has its own separate sign-in service, with its own sign-in address, accounts, sessions and providers. Nothing you configure is visible to another organization. A few things you may notice:
- The first administrator of a new organization gets an email to set their password once the organization is active. The link returns them to the organization’s own address.
- Your brand appears on the sign-in pages, in sign-in code messages and in authenticator apps, if your organization was registered with one. See Per-tenant brand.
- Passkey prompts show your organization’s display name.
- During maintenance, for example while your operator restores a backup or moves your organization, nobody can sign in. People see a temporary error until the maintenance ends.
Troubleshooting
Section titled “Troubleshooting”| What you see | What to check |
|---|---|
| The button does not appear on the sign-in page. | The domain you opened is not one of the domains the provider is linked to (C3), or the operator has not activated the provider yet. Check the address in the browser against the domain’s Host list. |
| Microsoft shows an error about the redirect address (for example AADSTS50011). | The redirect address in Entra does not exactly match A2. Check https, the host, the provider name and that there is no trailing slash. It must be registered under the Web platform. |
| People come back to the sign-in page with “Something went wrong during the login, please try again later!” | Most often the client secret has expired or was copied wrongly, or a permission is missing. Ask your operator to check the sign-in service log for the reason, and to add your own wording for that error if you want one (C8). |
| An existing user is refused. | Their OSOS account has the same email but is not linked yet, and account linking is off. Turn on “link once with password” (C4), or import the user from Entra. |
| A new person is refused. | Automatic account creation is off, or the person does not meet your rule (C5–C6). |
| New people sign in but have no access. | Check the User Group and Space chosen for new accounts (C6), and the group’s permissions. |
| Nobody can sign in after you turned passwords off. | If you are still signed in, turn Support Local Sign in back on yourself. Otherwise ask your operator to turn it back on for that domain. Then test single sign-on again. |
Someone could not sign in on a shared computer after another person’s account was removed. Since 1.10 | No action is needed. Sign-in now replaces the stale session automatically. |
| Everyone is suddenly asked for a code. | WhatsApp codes were set up, so everyone with a verified phone is asked. See WhatsApp codes. |
Go deeper
Section titled “Go deeper”Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27