<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AFsB0mCQFOkta Classic EngineAuthenticationAnswered2025-11-08T09:00:23.000Z2024-10-03T05:18:19.000Z2024-10-07T14:30:27.000Z

hndzr (hndzr) asked a question.

OAuthError: The client specified not to prompt, but the user is not logged in

Issue with Okta Refresh Token in iOS Apps (Angular 17, Ionic 7)

We are encountering the following error when the app attempts to renew the token in the iOS app: OAuthError: The client specified not to prompt, but the user is not logged in.

Image is not available

We are using the following plugins in our Ionic Angular app (Angular 17, Ionic 7) for Okta authentication:

  • @okta/okta-signin-widget
  • @okta/okta-angular
  • @okta/okta-auth-js

On web and Android apps, the okta-auth-js plugin automatically handles token renewal, successfully updating the access token. However, on iOS devices, this error persists.

Initially, we had an issue with blocking third-party cookies, which we resolved by using a custom domain.

Has anyone else encountered this issue with iOS devices? Any advice or solutions would be highly appreciated.


This question is closed.
Loading
OAuthError: The client specified not to prompt, but the user is not logged in