Connect Okta

Give ProofLayer a read-only Okta API token so it can prove multi-factor authentication, password rules and who has gone stale.

15 minYou need: An Okta Super Administrator

Before you start

Okta is where your company signs in to its tools. ProofLayer reads your users, their sign-in factors and your policies to show that multi-factor authentication is in force. ProofLayer only reads. Nothing in Okta is changed.

WordWhat it means
Org hostnameThe web address of your Okta, such as acme.okta.com, without https://.
API tokenA long code that lets a program act as a particular Okta administrator. It has exactly that person’s permissions, so we use a dedicated read-only person.

Create the read-only administrator and token

  1. Create a dedicated user

    Sign in to the Okta Admin Console as a Super Administrator. Go to Directory → People → Add person. Use a clear name such as prooflayer-readonly@yourcompany.com, and finish adding the person so they can sign in.

  2. Give them the Read-only Administrator role

    Go to Security → Administrators → Add administrator. Pick the new user, choose the role Read-only Administrator, and save.

  3. Sign in as that user and create the token

    Use a private browser window to sign in as the new user and open the Admin Console. Go to Security → API → Tokens → Create token. Name it “ProofLayer” and press Create token.

    Copy the token value now. Okta shows it once.

Give ProofLayer the token

  1. Create the connection

    In ProofLayer go to Connections → New connection. For Provider choose Okta and give it a Name such as “Corporate Okta”.

  2. Fill in the two fields

    Enter your Org hostname (for example acme.okta.com) and paste the token into API token. Press Create.

    ProofLayer stores the token encrypted and never shows it again.

Check that it works

  1. Open the connection in ProofLayer

    Go to Connections, click the connection you just made, and find the card called Okta access.

  2. Press Test access

    ProofLayer makes one small read-only request and shows the answer.

    Success looks like a green Access verified message. A red Access test failed message says what went wrong; see the table at the end of this page.

What ProofLayer reads

  • Whether every active user, and every holder of an Okta administrator role, has at least one active sign-in factor.
  • Whether your password policies meet a baseline (at least 12 characters, a mix of character types, lockout after a few attempts).
  • Whether a sign-on policy requires a second factor for everyone.
  • Whether any active account has not signed in for a long time (90 days by default; you can change this under Settings → Rules).

If something goes wrong

What you seeLikely causeWhat to do
Okta refuses the token (401)The token was copied wrongly, was revoked, or went unused too long.Create a new token as the read-only user and paste it again.
Cannot reach the hostThe hostname includes https:// or has a typo.Use only the hostname, for example acme.okta.com.
Some data is missingThe token’s owner is not an administrator, or has too narrow a role.Check the user has the Read-only Administrator role.
It worked, now it failsThe token was revoked or the user was disabled.Create a new token and press save on the connection.