Skip to main content
Question

Okta Platform SSO + Jamf Pro PreStage on macOS 26: "Registration failed" on Identity First, plus recovery/lockout questions

  • Oct 6, 2026 7:50 PM UTC
  • 8 replies
  • 289 views

N3wAv3
Forum|alt.badge.img

TL;DR: Okta Platform SSO enrollment with Jamf works on an existing account, but the Identity First (Simplified Setup) PreStage flow fails with "Registration failed" before any credentials are entered. Looking for the full list of PreStage requirements, plus best practices for recovery when the Okta and local passwords diverge.

ENVIRONMENT
- Jamf Pro (cloud), macOS Tahoe 26.x, Apple silicon, ADE through ABM
- Okta Verify 9.59.0 (enrollment package), Okta Platform SSO with password authentication
- Fleet currently uses Jamf Connect Login/AuthChanger; my test Macs are excluded from both
- Local admin account created by Jamf's managed local administrator (LAPS-style) setting

GOAL
Zero-touch onboarding: ship a Mac, the user signs in with Okta during setup, the local account is created and linked to Okta, and IT has a dependable recovery path if the user gets locked out.

TARGET WORKFLOW
1. New Mac is added to ABM, auto-assigned to Jamf, and lands in a dedicated PreStage.
2. During Setup Assistant, the PreStage installs Okta Verify (enrollment package) and the PSSO profile (plus SCEP profile), using Identity First so the user signs in with Okta before any local account exists.
3. The local account is created by PSSO already linked to Okta (PreStage set to Skip Account Creation, no separate local account step).
4. Jamf's managed local admin (rotating password) is created automatically as the IT recovery account. The bootstrap token is escrowed so Secure Token is granted automatically at first graphical login.
5. No Jamf Connect Login on these Macs.
6. Recovery: if a user is locked out, IT signs in with the managed local admin (retrieving the rotating password from Jamf), resets the local password, and aligns it with the Okta password.

Steps 2-3 are where I'm stuck. Step 4's automatic Secure Token grant worked in my testing. Step 6 is the part I'm least sure is realistic.

WHAT WORKS
On an existing local account, registration completes with the PSSO profile + Associated Domains + two custom settings payloads (registrationCompleted: true, SSO token issued, password sync prompt appears). Things that tripped me up, in case they help someone else:
- The Associated Domains payload wasn't offered when I built the profile from scratch, but appeared after I cloned an existing profile.
- com.okta.mobile and com.okta.mobile.auth-service-extension each needed their own Upload payload (OrgUrl, UserPrincipalName, PasswordSyncClientID), with PlatformSSO.ProtocolVersion = 2.0 only in the extension domain.
- app-sso platform -s still reports protocolVersion 1 even though I set 2.0. Is that expected?

WHAT FAILS
New PreStage with "Enable Simplified Setup for Platform SSO", workflow Identity First, PSSO app bundle ID com.okta.mobile, my PSSO profile selected, and Skip Account Creation. The Mac shows the "Single Sign-On for Mac" screen, and when I click Continue it immediately shows "Unable to Sign-In: Registration failed. Please contact an administrator for assistance." I never get a username/password prompt. Same result after deleting the computer record and re-enrolling, so it's not leftover state, and the network is fine.

At the time of the failure, the PreStage had only the PSSO profile attached (no SCEP profile) and no Okta Verify enrollment package. Since then I've added the Okta Verify enrollment package. I haven't retested yet and will update this thread with the result.

QUESTIONS
1. Has anyone gotten Identity First (Simplified Setup) working with Okta and Jamf? What is the complete list of what the PreStage needs (profiles, packages, Setup Assistant panes that must stay visible)?
2. "Registration failed" gives no detail. Which logs are most useful for debugging PSSO registration during Setup Assistant, and how do you get a terminal at that stage?
3. If an admin resets the Okta password, PSSO asks for the old local password to sync. If the user doesn't remember it, they're stuck. What's your recovery workflow (bootstrap token, LAPS admin reset, something else)?
4. Does a LAPS-managed local admin work at the PSSO login window? In my testing with Jamf Connect Login, the local admin couldn't sign in because logins route through Okta. How do you keep a local recovery account usable?
5. A CIS Level 1 password policy profile appeared to block password resets and Secure Token operations. Has anyone seen that, and which keys did you relax?
6. For Okta shops today, is native PSSO ready to replace Jamf Connect Login, or are you still running Connect?

8 replies

TheDirtyWizard
Forum|alt.badge.img+1
  1. I am also doing battle with this. I can’t even get Device First to work correctly. The build goes all the way through to desktop but it has actually silently failed in the background and not issued any certs or tokens. So once the user reboots, they can’t log back in again. It either says Authentication Failed or the password box just shakes. The only workaround is to build the device, then head immediately to System Settings > Users and Groups and hit repair on PSSO and then the second time round, it binds the token just fine, the certs appear and all is well. I just CANNOT figure out why I am getting this error when building it. The logs show one of a few messages:

    1. HTTP 400 - User is not configured for decryption.
    2.  Failed to insert Platform SSO Token during binding for the user

SO WEIRD.


MichaelBar
Forum|alt.badge.img
  • New Contributor
  • Nov 24, 2026 2:12 PM UTC

@TheDirtyWizard We’ve reproduced this on multiple types of Macs using Jamf Pro’s Device First setup and Okta Verify 9.73.0 and also 9.75.1 later o. Setup Assistant reaches the desktop, but the Mac then rejects the correct password at the lock screen. Restoring the connection from the system settings → users and groups fixes the issue.

MacOS logs two HTTP 400 key request failures, each followed by “Failed to insert platform sso token during binding for user.” Okta reported successful user registration about 35 seconds later. Running Repair restored password unlock.

Did Okta ever confirm why the key requests failed during setup, or suggest a fix that works on first enrollment?

Did you guys manage to get it to work?


TheDirtyWizard
Forum|alt.badge.img+1

Hey ​@MichaelBar - I am now working with our Okta Account Manager to get this working. They don’t seem to know why this is happening. I’ve been through SO MANY different iterations of the configuration to try and fix this but it just keeps happening. Will keep you posted once a solution has been found!


MichaelBar
Forum|alt.badge.img
  • New Contributor
  • Nov 24, 2026 4:06 PM UTC

​@TheDirtyWizard That’s great, please do keep me posted! I’ve been trying to get this thing working for a while now and it’s breaking my brain...


Logout
Forum|alt.badge.img
  • New Contributor
  • Nov 24, 2026 5:37 PM UTC

Adding another data point – same symptom here, and I think I can narrow down where it breaks.

Environment: Jamf Pro 11.33.3, PreStage with Simplified Setup (Device First), Okta Desktop Password Sync (Password method), dynamic SCEP. Reproduced on macOS 26.5.2 and 26.7.3 with Okta Verify 9.65.2, 9.69.0, 9.73.0 and 9.75.2, so the Okta Verify version doesn't seem to matter.

What happens
1. During Setup Assistant, right after the local account is created, AppSSOAgent logs two failed key requests:
   "Key request failed." … 400
   "Failed to insert platform sso token during binding for user."
   In the Okta System Log, device.platform_sso.enrollment.create only appears about a minute AFTER those key requests. So it looks like macOS asks Okta for the user key before Okta has finished enrolling the user.
2. Setup finishes and the user reaches the desktop. `app-sso platform -s` shows registrationCompleted = true and POUserStateNormal, but there is no userUnlockCertificate / userUnlockData / userDecryptionCertificate in the User Configuration.
3. If the profile has LoginPolicy and/or UnlockPolicy = AttemptAuthentication, the correct password is rejected at the Lock Screen and at the login window. Okta logs device.platform_sso.authentication SUCCESS for every attempt, but on the Mac:
   "insertTokenForUserName error … user is not configured for token unlock"
   "Certificate or key not found for token verification."
   (On 26.5.2 AppSSOAgent actually crashed at this point with an NSInvalidArgumentException; on 26.7.3 it fails cleanly with the errors above.)

What fixes it on a given Mac
- Any successful key request after the Okta enrollment exists. In my tests that was either a normal login-window login made while LoginPolicy/UnlockPolicy were NOT in the profile ("Key request completed successfully" in the log), or re-registering / Repair from the desktop. After that, userUnlockCertificate shows up in `app-sso platform -s`, and Login/Unlock with AttemptAuthentication work fine, including after an Okta password change.
- So with the policies absent at enrollment everything is stable; the lockout only happens when the policies are already there before the first successful key request.

Things I tried to automate "turn the policies on later" that did NOT work
- Two profiles (one without the policies in the PreStage, one with them scoped to a smart group once the unlock certificate exists): when Jamf removes the first profile, the Platform SSO registration is removed too and the user gets a Registration Required prompt. Re-registering from the desktop does work and gives the certificate immediately, but it's an extra sign-in for the user.
- A payload variable ($EXTENSIONATTRIBUTE_x / $ROOM) as the LoginPolicy value: Jamf Pro strips anything that isn't one of the known values from that field, the profile goes out with an empty array and macOS rejects it ("invalid value for the key PlatformSSO.LoginPolicy").
- `security platformsso bypass-login-policy`: exists on 26.7.3, but only runs when booted to Recovery.

One more thing that may be related: I had Okta Verify both as a PreStage enrollment package and in an Enrollment Complete policy. With both in place I got "Unable to Sign-In – There was an issue with the extension while registering your account for single sign-on" at the end of Setup Assistant, and the Okta Verify enrollment stopped right after the authorize step. After disabling the policy (PreStage package only) registration completed during setup. I changed the Okta Verify version in the same run, so I can't say for sure which of the two fixed it.

Questions
- Has anyone got LoginPolicy/UnlockPolicy working from first boot with Simplified Setup and Okta, without a Repair or a second registration?
- @TheDirtyWizard – any update from Okta on the HTTP 400 on the key request during setup? Happy to share logs if that helps the case.


MichaelBar
Forum|alt.badge.img
  • New Contributor
  • Nov 25, 2026 10:09 AM UTC

@Logout Thanks, that’s a good tip. We left LoginPolicy and UnlockPolicy out of our profile and tested a fresh Device First enrollment. The Okta password now unlocks the Mac without running Repair. 

The optimal way would still be to have those on and have it work, but for now this works. I just wonder if changing those settings back in a live deployment would cause any issues. I’ll test that and see how that goes.


Logout
Forum|alt.badge.img
  • New Contributor
  • Nov 25, 2026 10:12 AM UTC

@MichaelBar Glad it helped, and thanks for confirming on a fresh enrollment.

On turning the policies back on in a live deployment, this is what I saw on two test Macs (26.5.2 and 26.7.3):

- Editing the SAME profile in place (adding or removing LoginPolicy / UnlockPolicy) did not drop the Platform SSO registration. I did that several times.
- Moving a Mac to a DIFFERENT profile that has the policies does drop it: when Jamf removes the first profile the registration goes with it and the user gets a Registration Required prompt.
- The policies only work for a user who already has the unlock key. Check `app-sso platform -s` for userUnlockCertificate in the User Configuration. In my tests it appeared after the first normal login at the login window (the log shows "Key request completed successfully"). A Mac that gets the policies before that will reject the password again.

So if you enable them later for everyone, any Mac whose user hasn't logged in at the login window since setup is at risk. I tried to make it per-device with a payload variable, but Jamf strips anything that isn't a known value from that field.

One thing I haven't confirmed yet with the policies off: change the password in Okta, then unlock with the NEW password. Per Okta's docs macOS should try the local password first and then Okta. Did you test that?

I also opened a case with Okta about the HTTP 400 on the key request during setup.

I'll post back if they come up with anything.


TheDirtyWizard
Forum|alt.badge.img+1

​@MichaelBar - I assume you mean the User login policy and the Screensaver Unlock Policy? What about Filevault? If you leave that on, does it break anything or does that need to be off too?