What is Okta Auto Check-in?
Okta Auto Check-in connects your Okta sign-ins with Gable. When an employee signs in to Okta from your office network, Gable recognizes they are in the office and checks them in automatically, or creates a booking if needed. No badge, app tap or extra hardware is needed.
Gable uses the IP address of the Okta sign-in. If it matches one of your office's public IP addresses, Gable treats the employee as being at that office. Both a sign-in to Okta itself and a single sign-on to an app through Okta count.
Key Benefits:
โ Automatic check-ins when employees sign in to Okta at the office
โ Fewer missed or manual check-ins
โ More accurate workplace usage reporting
๐ Before You Begin
Make sure you have:
Admin access in Gable
Admin access in Okta (you'll create an app, grant a scope and assign an admin role)
The Presence Integrations and Company office add-ons enabled in your Gable account (contact support@gable.to or your CSM if you don't see them)
The public IP addresses or ranges for each office. Your IT team can provide these.
๐ Employees are matched by their Okta username, which must be their work email in Gable.
โ ๏ธ Important: VPNs
Gable checks employees in based on the IP address Okta sees. Gable does not detect VPNs, so:
If your VPN sends remote employees' traffic out through an office IP address, their sign-ins from home will check them in.
If employees in the office sign in through a VPN or proxy that exits from another IP address, Gable won't check them in.
To avoid this, use split tunneling for the Okta domains, or make sure your VPN exit IP addresses are not in any office IP range. To see which IP address Okta sees, look at the client IP of the user.session.start event in the Okta System Log.
๐ ๏ธ How to Connect Okta to Gable
There are two ways to connect. We recommend letting Gable manage the event hook: Gable creates the hook in Okta for you and checks it daily. If you'd rather not give Gable access to your Okta API, you can create the hook yourself (see Option 2 below).
Step 1: Start the Connection in Gable
Log in to your Gable account.
Go to your Profile drop-down > Company Admin > Settings.
Click Integrations on the left-hand menu and find the Okta Auto Check-in tile.
Click Connect.
๐ If the tile shows a lock icon, the add-on isn't enabled. Reach out to Gable Support or your CSM.
Step 2: Choose How to Connect
Select Let Gable manage the event hook (recommended) and click Continue.
Step 3: Create an API Services App in Okta
In the Okta Admin Console, go to Applications > Applications and click Create App Integration.
Select API Services and click Next.
Enter a name that's easy to recognize, such as Gable - Manage event hooks.
Under Client definition, select Use Okta-generated client ID and click Save.
๐ก The app isn't tied to a person, so the connection keeps working if the admin who set it up leaves.
Step 4: Enter Your Okta Details in Gable
Copy the app's Client ID from Okta into Gable.
Enter your Okta org URL, for example
https://yourcompany.okta.com.Click Continue.
โ ๏ธ Use your org URL, not the Admin Console URL. If the URL has -admin in it (for example yourcompany-admin.okta.com), remove -admin.
Step 5: Authorize the Gable App in Okta
Gable now shows a public key and the steps to follow. In your Okta app:
Go to General > Public Keys and click Add key. Select 4096-bit as the key size, paste the public key from Gable and click Done.
In General > Client Credentials, click Edit and set Client authentication to Public key / Private key.
If Require Demonstrating Proof of Possession (DPoP) header in token requests is selected, clear it. Click Save.
In the Okta API Scopes tab, grant
okta.eventHooks.manage.In the Admin roles tab, assign an admin role that can manage event hooks.
Back in Gable, click Finish. Gable creates and verifies the event hook in Okta.
๐ก Okta may require the Super Administrator role. Gable can still only manage event hooks, because the granted scope limits its access.
๐ If something is missing in Okta, Gable shows what to fix. Fix it in Okta and click Finish again.
Step 6: Map Offices to IP Addresses
For each Gable Office, enter its public IP addresses or ranges. You can enter single IP addresses or CIDR ranges (for example 203.0.113.0/24), in IPv4 or IPv6.
You can add up to 100 IP addresses and ranges in total.
Two offices can't share the same range.
Step 7: Add Excluded Words (Optional)
Some sign-ins happen in the background, for example from device-management tools. To ignore them, add excluded words. Gable ignores a sign-in when its browser or device details, or the name of the app it signs in to, contain one of these words.
Step 8: Add a Slack Channel for Errors (Optional)
Choose a Slack channel where Gable can alert you if the connection stops working.
Step 9: Save Your Settings
Click Save. Once employees start signing in, Last event received on the settings page shows when Gable last received a sign-in from Okta.
๐ง Option 2: Create the Event Hook Yourself
If you'd rather not give Gable access to your Okta API, you can create and manage the event hook in Okta yourself.
Follow Step 1 above, then select I'll create the event hook in Okta and click Continue.
Gable shows a webhook URL, an authorization secret and the event types to subscribe to. Copy the secret right away. Gable only shows it once.
In the Okta Admin Console, go to Workflow > Event Hooks and click Create Event Hook.
Paste the URL, set the authentication field to Authorization, paste the secret, and subscribe to the event types Gable shows.
Click Save & Continue, then click Verify.
Gable shows when the verification works, or why it failed. Once it works, Gable opens the settings page. Continue with Step 6 above.
โ ๏ธ With this option, you manage the hook in Okta. If you disconnect later, you'll need to delete the event hook in Okta yourself.
๐ ๏ธ How Auto Check-In Works
Okta check-ins follow the same rules as badge and Wi-Fi check-ins, and use your existing check-in settings. The check-in source shows as Okta.
If Auto Check-In is enabled in Gable, Okta sign-ins follow this priority order:
โ Existing Booking โ auto-marked checked in.
๐ข Private Office (only user assigned) โ booked and checked in.
๐ข Private Office (shared) โ booked if user is assigned and checked in.
๐บ Desk in common space (only user assigned) โ booked and checked in.
๐บ Desk in common space (shared) โ booked if user is assigned and checked in.
๐ฅ Department-assigned desk โ booked and checked in.
๐ Unassigned desk available โ booked and checked in.
๐ Onsite booking enabled โ creates onsite booking (unassigned) and checked in.
๐จ Fallback โ if none apply, Admin notified.
โ Additional Information & FAQs
๐ How does the Okta integration authenticate?
With the recommended option, Gable uses the API Services app you create in Okta. The app is limited to the okta.eventHooks.manage scope, so Gable can only create and manage event hooks. With Option 2, Gable has no access to your Okta API; Okta sends events to Gable with the secret you set up.
๐ก What does Gable receive from Okta?
Gable receives two Okta events: a sign-in to Okta, and a single sign-on to an app through Okta. Gable uses the employee's Okta username and the IP address of the sign-in.
๐ฉบ What if the connection stops working?
With the recommended option, Gable checks the event hook daily. If the hook is turned off, not verified, deleted, or Gable lost access, the tile shows a short status: Hook inactive, Hook not verified, Hook missing or Access denied. The settings page explains what to do, and your Slack channel gets an alert.
๐ How do I disconnect?
Click Disconnect on the Okta Auto Check-in tile. If you created the hook yourself, or Gable can't reach Okta, Gable asks you to delete the event hook in Okta.
๐ Why wasn't an employee checked in?
Their Okta username isn't the same as their work email in Gable.
The IP address Okta saw isn't in that office's IP ranges (for example because of a VPN or proxy). Check the client IP in the Okta System Log.
The sign-in matched one of your excluded words.
๐ฅ Video Walkthrough
โ Need More Help?
Reach out to us using the chat bubble in the bottom right corner or via email at support@gable.to.
