Only SSO sign-in
While “Only SSO sign-in” is on, your employees sign in to Defthand with their company accounts only. Passwords stop being a separate attack surface, and someone who leaves the company can no longer sign in as soon as they are closed at the provider.
You must have set up and switched on single sign-on first: Setting up single sign-on.
What changes while the mode is on
Section titled “What changes while the mode is on”- Employees cannot sign in with a password. Instead of the password form, the sign-in page says “This company signs in with its company account.”
- Forgot password? sends no email; passwords cannot be reset.
- No password can be set from an invitation link. New people get an account without an invitation instead of an invitation email (Adding a user).
- When adding a user, the Send an invitation e-mail and I’ll set the password options are greyed out: “This company signs in with SSO only: no password can be set.”
- Existing sessions continue; nobody is thrown out at that moment.
- Customer portal accounts are not affected; they always sign in with a password.
- Exempt administrators can open the password form with the Administrator password sign-in link on the sign-in page.
Why an exemption is needed
Section titled “Why an exemption is needed”If your identity provider fails or the client secret expires, nobody can sign in with SSO. So that your company is not locked out, at least one administrator must be able to sign in with a password. That is why Defthand won’t let you switch the mode on without at least one safeguard account.
An exemption counts as a safeguard under these conditions:
| Condition | Badge in the list |
|---|---|
| The account is active | Active / Inactive |
| The account has a password | Has a password / No password |
| The account can manage the SSO settings (e.g. the Admin role) | Can manage the settings / Cannot manage the settings |
| Result | Safeguard / Not a safeguard |
The account must also have a confirmed email and must not be locked out. A count such as “Accounts that count as a safeguard: 2” is shown above the list.
Switching the mode on: step by step
Section titled “Switching the mode on: step by step”- On the Settings → Single sign-on page, scroll down to the Only SSO sign-in section.
- Add an administrator to the Administrators who may still use a password list:
- Type a name, email or employee code (e.g. “Mehmet Demir”) in the Administrator to exempt box.
- Choose the person from the list and press Give the exemption. “Exemption given” appears.
- Add a second administrator the same way (recommended; see below for why).
- Check for the Safeguard badge on the rows. If you don’t see it, the account has no password or cannot manage the SSO settings.
- Try signing in with SSO yourself in a private window.
- Turn on the Only SSO sign-in switch. The “Switch only-SSO sign-in on?” window appears: “From the moment you switch it on, accounts without an exemption cannot sign in with a password.” Press Switch the mode on.
The switch is separate and saves immediately; it doesn’t touch anything unsaved you typed in the provider form above. The badge next to the switch changes to On.
The switch is locked in these two cases, and the reason is written next to it:
- “This mode can only be switched on while single sign-on is on.” First switch it on with Switch SSO on and save.
- “This mode cannot be switched on without at least one active administrator who can still sign in with a password.” First give an administrator the exemption.
Why the mode becomes “Not applied”
Section titled “Why the mode becomes “Not applied””If the only safeguard administrator later loses the administrator role, is deactivated or no longer has a password, the mode stops being applied by itself until a new safeguard is set:
- The badge changes to Not applied, and a red warning says that password sign-in is open to everybody.
- The sign-in page shows the password form again.
- The situation is written to the security records; it doesn’t go unnoticed.
This way the company is never locked out. To keep the mode applied without a gap, give two administrators the exemption. To apply it again, it is enough to add an administrator who counts as a safeguard to the list.
Removing an exemption
Section titled “Removing an exemption”Press Remove the exemption on the row. “Exemption removed” appears. While the mode is on, the last safeguard cannot be removed; give another administrator the exemption first.
Switching the mode off
Section titled “Switching the mode off”Turn off the Only SSO sign-in switch. No confirmation is asked; “Only-SSO sign-in switched off; password sign-in is open again” appears. Switching it off leaves nobody locked out. These also switch the mode off:
- switching Switch SSO on off and saving,
- using Delete the client secret,
- the Single sign-on (SSO) module being removed from your company.
If even the exempt administrator cannot sign in, contact the Defthand team.
Exempt administrators’ accounts
Section titled “Exempt administrators’ accounts”These are the only accounts that can sign in with a password outside the provider. Choose a strong password that isn’t used anywhere else, and always switch on two-step verification.