# WebView SignIn Disable Debug mode

**URL:** <https://devforum.okta.com/t/webview-signin-disable-debug-mode/32852>\
**Category:** OAuth/OIDC\
**Tags:** ios, mobile\
**Created:** [April 7, 2025, 12:32pm UTC](https://devforum.okta.com/t/webview-signin-disable-debug-mode/32852 "2025-04-07T12:32:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://devforum.okta.com/u/Nicolas)\
**Post date:** [April 7, 2025, 12:32pm UTC](https://devforum.okta.com/t/webview-signin-disable-debug-mode/32852/1 "2025-04-07T12:32:27Z")

</div>

Hello, We develop an App for IOS that is using OKTA Oidc framework. We use the API oktaService.signInWithBrowser to manage authentication. The Web View displaying the login form is not protected against debugging on Safari (with Web inspector) How we can disable debug mode for the Web View because we don’t handle this WebView. It’s internal to the OKTA OIDC source code. Is there a configuration possible on top to manage that ? By advance thanks

---

<div class="post-metadata">

**Author:** ![krishna](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@krishna](https://devforum.okta.com/u/krishna)\
**Post date:** [April 22, 2025, 1:26pm UTC](https://devforum.okta.com/t/webview-signin-disable-debug-mode/32852/2 "2025-04-22T13:26:42Z")

</div>

Your application code (and the Okta SDK code running within your app’s process) does not directly create or manage the web view instance used by `ASWebAuthenticationSession`. It’s handled by the iOS operating system not even Okta.

Our Okta OIDC iOS SDK **does not provide a specific configuration option** to disable the Web Inspector for the `ASWebAuthenticationSession` it presents. The SDK’s configuration focuses on OIDC protocol parameters like issuer, client ID, scopes, redirect URI, etc Since apple disallowed this.

---

<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:** [May 22, 2025, 1:26pm UTC](https://devforum.okta.com/t/webview-signin-disable-debug-mode/32852/3 "2025-05-22T13:26:54Z")

</div>

Closed on May 22, 2025, 1:26pm UTC

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