Okta single sign-on for the console
Let your administrators sign in to the SenseCrypt admin console through Okta: create the SAML app, connect it to SenseCrypt, prove your email domain, turn it on and, if you want, require it.
This guide connects your Okta organization to the SenseCrypt admin console, so your administrators sign in to the console with their Okta account. It uses SAML 2.0. Entra ID, OneLogin and JumpCloud work the same way: use their SAML app instead of Okta's.
This is about the console, where you manage tenants and applications. It is not about the end users of your applications. They sign in with a face scan. To send Okta users and groups into a tenant, see Okta SCIM provisioning.
Supported features
- SP-initiated sign-in. An administrator opens your company's sign-in link and is sent to Okta.
- IdP-initiated sign-in. An administrator clicks the SenseCrypt tile in their Okta dashboard.
- Require SSO. Optionally, administrators on your email domain can sign in only through Okta.
Not supported:
- Creating administrators from Okta (JIT). Okta signs in people who are already administrators of your account: the owner, or an administrator you invited. Nobody is created.
- Single logout. Signing out of Okta does not sign you out of the console. A console session signed in through SSO lasts at most 8 hours.
Requirements
- You are the owner of the SenseCrypt account. Only the owner can change single sign-on settings.
- Access to your email domain's DNS, to add one TXT record.
- An Okta administrator who can create app integrations and assign people.
Step 1: Create a connection in SenseCrypt
- In the SenseCrypt admin console, open Administration > Single sign-on and click New connection.
- Give it a name, for example
Example Okta, and click Create. - Under 1. Give these to your identity provider, keep the page open. You need the Single sign-on URL (ACS) and the Audience URI (entity ID) in the next step.
Step 2: Create the SAML app in Okta
-
In the Okta Admin Console, go to Applications > Applications and click Create App Integration.
-
Choose SAML 2.0 and click Next.
-
Name the app, for example
SenseCrypt console, and click Next. -
Under SAML Settings, enter:
Okta field Value Single sign-on URL The Single sign-on URL (ACS) from SenseCrypt. Keep Use this for Recipient URL and Destination URL selected. Audience URI (SP Entity ID) The Audience URI (entity ID) from SenseCrypt. Name ID format Persistent Application username Email -
Under Attribute Statements, add one statement:
Name Name format Value emailUnspecified user.email -
Click Next, then Finish.
The Name ID format must be Persistent. SenseCrypt links each Okta user to one administrator by this ID, so an email address that changes in Okta still signs in the same administrator. A response with another format is refused.
Step 3: Paste Okta's details into SenseCrypt
-
In Okta, open the app's Sign On tab. Under SAML 2.0, open More details (or View SAML setup instructions).
-
In SenseCrypt, under 2. Paste your identity provider's details, click Fill in details and paste:
SenseCrypt field Okta value Identity provider issuer (entity ID) Issuer, for example http://www.okta.com/exk…Identity provider sign-in URL Sign on URL, which starts with https://Signing certificate Signing Certificate: download it and paste the whole file, including the BEGIN CERTIFICATEandEND CERTIFICATElines -
Click Save.
Step 4: Prove your email domain
A domain says whose administrators the connection signs in. It is the part after the @ in their email addresses.
- Under Email domains, click Add domain and enter your domain, for example
example.com. - Add the TXT record shown, with the TXT name and TXT value, in your domain's DNS.
- Click Check DNS. It can take a few minutes for a new record to be seen. When it is, the domain shows Verified.
- In the domain's Connection list, choose your connection.
Only one SenseCrypt account can hold a verified claim on a domain.
Step 5: Assign people in Okta
In the Okta app, open Assignments and assign the people who should sign in to the console. Each of them must already be an administrator of your SenseCrypt account, with the same email address. An administrator you invited who has not accepted yet joins at their first sign-in through Okta.
Step 6: Turn it on and test
- In SenseCrypt, click Turn on single sign-on. For your security, this needs a recent sign-in: if you are asked to sign in again, do so and click it again.
- Under 3. Turn it on, copy Your company's sign-in link and share it with your administrators, or let them use the SenseCrypt tile in their Okta dashboard.
- Open the link in a private browser window and sign in with Okta. The owner lands on the main console; an administrator lands on their tenant.
The SenseCrypt sign-in page never asks for an email to find your connection, so nobody can learn which companies use single sign-on. Bookmark your company's sign-in link, or start from Okta.
The first time someone signs in through Okta, their console password is removed: a console account has one sign-in method. While the connection is on, Forgot password? sends them nothing.
Step 7 (optional): Require SSO
With Require SSO, administrators on the connection's domains can sign in only through Okta: their password and social sign-in are refused, and their current password sessions end.
- If your own email address is on the domain, first sign in through Okta (Step 6). SenseCrypt asks for this so a broken setup cannot lock you out.
- Click Require SSO and confirm.
To stop requiring it, click Stop requiring SSO. To turn single sign-on off, click Turn off: everyone signed in through it is signed out, and they can set a password again with Forgot password?.
Rotating Okta's signing certificate
When Okta gives you a new signing certificate, click Edit details and paste both the current and the new certificate in Signing certificate, then Save. Sign-in keeps working with either. Once Okta uses the new one, edit again and keep only the new certificate. The owner is emailed for every change to the connection.
Troubleshooting
When a sign-in through Okta is refused, the sign-in page says Single sign-on didn't work. It gives no reason, on purpose. The owner can see the reason in the Audit log, as sso.login_failed. Common causes:
- The Name ID format is not Persistent, or the
emailattribute is missing. Fix the app in Okta (Step 2). - The email's domain is not verified or not assigned to this connection (Step 4).
- The person is not an administrator of your account, or their email in Okta differs from their console email.
- The certificate does not match the one Okta signs with (Step 3), or it has expired.
- Single sign-on is off for the connection.
If Okta is broken and you required SSO for your own address, contact support. Support can turn the connection off after confirming you own the account.
Okta SCIM provisioning
Provision users and groups from Okta into a SenseCrypt tenant with the SenseCrypt app in the Okta Integration Network: features, setup, attribute mapping and troubleshooting.
Machine-to-machine
Get an access token for the SenseCrypt Management API with the OAuth 2.0 client-credentials grant — register an M2M app, bind roles, call the token endpoint, and use the token.