Single Sign-On with Okta

Connect your organization's Okta to Arkham. Your people sign in to Arkham through Okta, and Okta adds them to your Arkham organization when you assign them and removes them when they leave.

Everything on the Arkham side is in Settings → Organization, which your organization's admins see.

What You'll Need

  • An admin of your Arkham organization.
  • An Okta admin who can create app integrations.
  • Access to your email domain's DNS, to show Arkham that your organization owns it.

1. Verify Your Email Domain

Only people whose email address is at a verified domain sign in through Okta.

  1. In Arkham, under Single Sign-On, enter your domain (for example acme.com) in Add domain and click Add.
  2. Arkham shows a TXT record and its Value. Publish that record at your DNS provider.
  3. Click Verify. Arkham reads the record once; the domain stays verified after that.

Public email domains such as gmail.com can't be verified.

2. Connect Okta

Arkham supports SAML 2.0 and OpenID Connect. Set up one of them. If you want Okta to provision your people (step 4), use SAML: Okta doesn't offer provisioning on an OpenID Connect app created this way.

SAML 2.0

  1. In the Okta Admin Console, go to Applications → Applications, click Create App Integration, choose SAML 2.0 and click Next.

  2. Name the app Arkham and click Next.

  3. Fill in the SAML settings:

    Okta settingValue
    Single sign-on URLhttps://api.arkm.com/auth/sso/saml/acs
    Use this for Recipient URL and Destination URLChecked
    Audience URI (SP Entity ID)https://api.arkm.com/auth/sso/saml/metadata
    Name ID formatUnspecified
    Application usernameOkta username, or Email if your Okta usernames are not email addresses

    Arkham shows the same two addresses under SAML 2.0 as ACS URL and Entity ID.

  4. Click Next, then Finish.

  5. On the app's Sign On tab, copy the Metadata URL.

  6. In Arkham, under Single Sign-On, choose SAML 2.0, paste the address into Identity provider metadata URL and click Save provider. Arkham shows the provider, its sign-in URL and when its certificate expires.

Warning
Arkham reads Okta's metadata once, when you save. After Okta rotates the app's signing certificate, click Save provider again.

OpenID Connect

  1. In the Okta Admin Console, click Create App Integration, choose OIDC - OpenID Connect and Web Application, and click Next.
  2. Name the app Arkham and set Sign-in redirect URIs to https://api.arkm.com/auth/sso/oidc/callback. Arkham shows this address under OpenID Connect as Redirect URI.
  3. Under Assignments, choose who can use the app, and click Save.
  4. In Arkham, under Single Sign-On, choose OpenID Connect and enter:
    • Issuer: your Okta address, for example https://acme.okta.com
    • Client ID and Client secret: from the app's General tab in Okta
  5. Click Save provider.

Who Gets an Account

With Create and seat accounts on first sign-in on, anyone at a verified domain whom Okta signs in gets an Arkham account if they have none, and a seat in your organization. With it off, only your organization's members and people with a pending invite can sign in through Okta.

Whichever protocol you use, Arkham takes the username Okta sends as the person's email address, so it must be their work email at a verified domain.

Switching between SAML and OpenID Connect replaces the provider: your people sign in through the new one as if for the first time.

3. Assign People and Sign In

  1. In Okta, on the app's Assignments tab, assign the people or groups who should use Arkham.
  2. On arkm.com, click Use Single Sign-On, enter your work email and click Continue. Okta signs you in and returns you to Arkham.

To test while you are signed in to Arkham as someone else, use a private window.

Sign-in starts at Arkham. Opening Arkham from the Okta dashboard doesn't sign you in, so you may want to tick Do not display application icon to users in the app's General settings in Okta.

People whose Arkham account has an authenticator app enter its code after Okta signs them in.

4. Turn On Provisioning (SCIM)

With provisioning, Okta adds people to your Arkham organization when you assign them, before they first sign in, and removes them when you unassign or deactivate them. These steps are for the SAML app from step 2.

In Arkham:

  1. Under Directory Provisioning (SCIM), click Generate token and copy it. It isn't shown again. The token belongs to a provisioning account that holds one of your seats.

In Okta:

  1. On the app's General tab, edit App Settings, set Provisioning to SCIM and click Save.

  2. On the Provisioning tab, under Integration, click Edit and fill in:

    Okta settingValue
    SCIM connector base URLhttps://api.arkm.com/scim/v2
    Unique identifier field for usersuserName
    Supported provisioning actionsImport New Users and Profile Updates, Push New Users, Push Profile Updates
    Authentication ModeHTTP Header
    AuthorizationThe token from step 1
  3. Click Test Connector Configuration. Okta should report that the connector is configured successfully. Close the result and click Save.

  4. Under To App, click Edit, enable Create Users, Update User Attributes and Deactivate Users, and click Save. Leave Sync Password off: your people sign in through Okta.

What Okta then does in Arkham:

In OktaIn Arkham
Assign a person to the appCreates their Arkham account if they have none and gives them a seat in your organization
Unassign or deactivate themRemoves them from your organization, ends their sessions and revokes the API keys they created
Assign them againGives them a seat again

A person's username must be their email address at one of your verified domains, and it can't be changed once Okta has provisioned them. Okta can't add anyone while your organization has no free seat.

5. Require Single Sign-On (Optional)

Once everyone signs in through Okta, you can make it the only way in for your domains. Before you can:

  • At least one admin of your Arkham organization needs an authenticator app on their Arkham account.
  • You need to be signed in to Arkham through Okta, which shows that the connection works.

Then tick Require single sign-on. Your organization's admins who have an authenticator app are exempt and can still sign in with their password, so an Okta outage can't lock your organization out; keep at least one. For everyone else with an email address at your verified domains:

  • Password, Google and Apple sign-in are refused, and so are password sign-ups, password resets and changing an account's email to or from your domains.
  • Their sessions that didn't start with Okta end.
  • The Arkham mobile app doesn't support single sign-on, so they can't sign in there.

Troubleshooting

Arkham saysWhat to do
Your identity provider signed you in with an email address your organization has not verified with Arkham.The username Okta sent isn't at a verified domain. Check the app's Application username in Okta, or verify the domain.
You have not been added to your organization on Arkham. Ask your organization's admin for an invite.Create and seat accounts on first sign-in is off. Invite the person in Arkham, or assign them in Okta with provisioning on.
Your identity provider did not confirm your email address, so it cannot be linked to your existing Arkham account.The person had an Arkham account before your organization connected Okta. Invite them in Arkham, or assign them in Okta with provisioning on, then sign in again.
Your organization has no free seat on Arkham.Free a seat in your organization, or ask Arkham for more.
Your Arkham account belongs to another organization.The person must leave their other Arkham organization first.
Your organization requires single sign-on. Use Single Sign-On to sign in.Single sign-on is required for this address. Use Use Single Sign-On on the sign-in page.

If Okta's Test Connector Configuration fails, the token may be incomplete or replaced: generate a new one and paste it again.

Identity Activity, in the same settings, lists every change to your single sign-on and provisioning token, who made it, and the people and groups Okta added and removed.