How to remove Okta permission content with OktaOidc in iOS

Hi Team,

We are using OktaOidc framework for iOS. When login screen is launched it always ask for a user consent that “App would like to use Okta.com”. Can someone guide on how to disable this consent.

This is a system level prompt, as discussed in this Github Issue, that will always be encountered if the application redirects the user to Okta.

If you’d like to avoid your users seeing this prompt, you can look into implementing a self hosted login solution (see our sample app as a reference). In my tests, users were not shown this prompt when doing so.

You may also find that users will again see this prompt upon logout, because the signOutOfOkta method also involves a browser redirect (in this case to the OIDC /logout endpoint). For logout, you can replace this logic to simply remove (and potentially revoke) the users tokens from the application, such as in this guide: Sign users out of your app

Is there anyway to customize the message on the prompt? Currently, the message is shown as “App would like to use Okta.com to sign in". When this message is seen during the “sign-out” process, it became very confusing to users. We would like to change the message to something more generic that can be used in both “sign-in” and “sign-out” scenarios. Thanks

This is a system level prompt, there is no way to customize it.

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