Native SSO on a device with no browser: how to get a device secret

I’m building Native SSO between two apps on a device with no browser.
Signing in with the Device Authorization grant works, but when I add
the device_sso scope to the /device/authorize request, Okta returns:
invalid_scope - “The following scopes are not allowed for this request: [device_sso]”.
Without device_sso, no device secret is returned, so a second app can’t
use the token exchange.

Is there a supported way to obtain a device secret on a device that
cannot open a browser (for example a console or kiosk)? Or is Native SSO
only supported when the first sign-in uses the authorization code flow?

Hi, Unfortunately, the combination you are describing is not currently supported. The `device_sso` scope, which is required to obtain a `device_secret` for Native SSO, can only be requested through the `/authorize` endpoint using the Authorization Code flow. Okta does not permit it on the `/device/authorize` endpoint, which is why you are seeing the `invalid_scope` error. There is no supported path today to obtain a `device_secret` through that Device Authorization grant type, and therefore no way to chain Native SSO from it.