This message usually appears when the browser authentication session used during enrollment expires or becomes stale before the macOS enrollment flow is completed.
For macOS enrollment with an identity provider such as Okta, try restarting the enrollment flow from a fresh session:
- Close the current enrollment browser tab or window.
- Open a new private/incognito browser window, or use a different browser.
- Start enrollment again using the latest enrollment URL provided by your organization.
- Complete the Okta/Google authentication without switching away from the flow for too long.
If the device was already partway through setup, the enrollment state may need to be reset by the IT admin before retrying. Once the setup/enrollment process is reset, the Mac should be able to start the authentication and enrollment flow again cleanly.
Regards,
Mary Romero