Connect Okta
Give ProofLayer a read-only Okta API token so it can prove multi-factor authentication, password rules and who has gone stale.
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.
| Word | What it means |
|---|---|
| Org hostname | The web address of your Okta, such as acme.okta.com, without https://. |
| API token | A 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
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.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.
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
Create the connection
In ProofLayer go to Connections → New connection. For Provider choose Okta and give it a Name such as “Corporate Okta”.
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
Open the connection in ProofLayer
Go to Connections, click the connection you just made, and find the card called Okta access.
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 see | Likely cause | What 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 host | The hostname includes https:// or has a typo. | Use only the hostname, for example acme.okta.com. |
| Some data is missing | The 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 fails | The token was revoked or the user was disabled. | Create a new token and press save on the connection. |