# Can Native-to-Web SSO be used after a device\_sso token exchange?

**URL:** <https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390>\
**Category:** OAuth/OIDC\
**Created:** [July 18, 2026, 11:12am UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390 "2026-07-18T11:12:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeferredExecution](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@DeferredExecution](https://devforum.okta.com/u/DeferredExecution)\
**Post date:** [July 18, 2026, 11:12am UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390/1 "2026-07-18T11:12:53Z")

</div>

We are trying to combine Okta Native SSO (`device_sso`) with Native-to-Web SSO (`interclient_access`) in an Identity Engine mobile application.

### Use case

Our mobile app performs native Okta authentication with:

```auto
openid profile email offline_access device_sso

```

We must retain `device_sso` for the app’s existing native SSO functionality.

After login, the mobile app needs to SSO into a trusted target OIDC web application. That target is integrated with Genesys Cloud, and we need the resulting authorization code to start an authenticated Messenger chat.

The mobile app does not have an Okta browser-session cookie, so we followed the Native-to-Web SSO documentation:

> **[Configure Native to Web SSO | Okta Developer](https://developer.okta.com/docs/guides/native-to-web-sso/main/)**
>
> Secure, scalable, and highly available authentication and user management for any app.

### What works

If the original mobile login requests:

```auto
openid interclient_access

```

we can:

1. Obtain the access-token and ID-token pair.

2. Exchange them for a single-use `interclient_token`.

3. Pass that token to the target app’s authorization request.

4. Receive the expected authorization code.

This confirms that the origin-to-target trust mapping, application assignments and target authorization flow are working.

However, we cannot use this approach because we cannot remove `device_sso`, and `device_sso` and `interclient_access` cannot be requested together during our original login.

### What we tried

We authenticate normally with:

```auto
openid profile email offline_access device_sso

```

We then use the returned `device_secret` and original ID token in a Token Exchange request, requesting:

```auto
openid interclient_access

```

Okta returns a fresh access-token and ID-token pair successfully.

We verified that:

- The access token contains `openid` and `interclient_access`.

- The access-token `cid` matches the ID-token `aud`.

- Both tokens have the same issuer and issuance time.

- The ID token’s `at_hash` matches the access token.

- The ID token contains `sid` and `ds_hash`.

We then exchange this fresh pair for the single-use `interclient_token`, using the trusted target app as the audience.

That request fails with:

```auto
{
  "error": "access_denied",
  "error_description": "The requesting client app retrieved from session is different from the audience of the id_token."
}

```

We reproduced the same result using both the default custom authorization server and a separate custom authorization server.

Token Exchange is enabled on the origin application and authorization-server policy. The user is assigned to both applications, and the origin app is included in the target app’s Native-to-Web allowlist.

### Questions

1. Is it supported to obtain a Native-to-Web `interclient_access` token pair through a `device_secret` Token Exchange after an initial `device_sso` login?

2. If it is supported, is there another parameter or configuration required to create the session expected by the subsequent `interclient_token` exchange?

3. If it is not supported, what is the recommended way to retain `device_sso` while allowing the authenticated native app to SSO into a trusted target web app without another interactive browser login?

The direct `interclient_access` test succeeds, so the failure appears specific to obtaining the token pair through the device-secret exchange.

I can provide sanitized request parameters, decoded token payloads and relevant System Log events if needed.

---

<div class="post-metadata">

**Author:** ![herman45](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@herman45](https://devforum.okta.com/u/herman45)\
**Post date:** [July 18, 2026, 1:56pm UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390/2 "2026-07-18T13:56:10Z")

</div>

From what you have described it sounds like the issue is not with the token exchange itself but with the Native to Web SSO flow expecting an interactive browser session tied to the original authentication. The device\_secret exchange can issue new access/ID tokens, but it may not recreate the browser backed session that the interclient\_token flow validates, which would explain the “requesting client app retrieved from session is different from the audience of the id\_token” error. I have not seen documentation confirming that device\_sso → Token Exchange → interclient\_access is a supported chain. If your direct interclient\_access login works but the exchanged tokens do not, this may simply be an unsupported combination.

---

<div class="post-metadata">

**Author:** ![DeferredExecution](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@DeferredExecution](https://devforum.okta.com/u/DeferredExecution)\
**Post date:** [July 18, 2026, 5:52pm UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390/3 "2026-07-18T17:52:16Z")

</div>

Thanks—that may be the limitation, but Flow A (interclient\_access at login → interclient token) works, while Flow B (device\_sso login → device-secret exchange for valid interclient\_access tokens → interclient token) fails; logically both should work unless Okta has a documented restriction and reason for this specific chain.

---

<div class="post-metadata">

**Author:** ![DeferredExecution](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@DeferredExecution](https://devforum.okta.com/u/DeferredExecution)\
**Post date:** [August 6, 2026, 5:15am UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390/4 "2026-08-06T05:15:18Z")

</div>

Closing this out with the outcome from Okta Support:

Okta officially confirmed that Native-to-Native SSO (`device_sso`) and Native-to-Web SSO (`interclient_access`) cannot currently be composed in this way. The token pair obtained through the `device_secret` exchange cannot be used to continue the Native-to-Web SSO flow.

Although Okta classifies this as an unsupported composition, it appears to us to be a product gap. Support confirmed that similar requests have been raised by other customers and suggested submitting an Okta Ideas feature request, as organisations may reasonably need Native-to-Native and Native-to-Web SSO together.

We resolved our use case by removing `device_sso` and requesting `interclient_access` during the initial interactive login. This introduced breaking changes for two existing WebView integrations that previously obtained token pairs through the `device_secret` exchange. We are replacing those exchanges with Native-to-Web SSO for all web applications: each target receives a single-use `interclient_token` and uses it to obtain its own authorization code and token pair.

We also verified that Native-to-SPA and SPA-to-Web SSO work using the same underlying flow.

Thanks to everyone who contributed. Hopefully this helps others considering the same combination.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [September 5, 2026, 5:15am UTC](https://devforum.okta.com/t/can-native-to-web-sso-be-used-after-a-device-sso-token-exchange/35390/5 "2026-09-05T05:15:43Z")

</div>

Closed on September 5, 2026, 5:15am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
