# In .NET MAUI app, how can I avoid the iOS permission alert?

**URL:** <https://community.auth0.com/t/in-net-maui-app-how-can-i-avoid-the-ios-permission-alert/134497>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [May 20, 2024, 10:26am UTC](https://community.auth0.com/t/in-net-maui-app-how-can-i-avoid-the-ios-permission-alert/134497 "2024-05-20T10:26:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [March 20, 2025, 5:09pm UTC](https://community.auth0.com/t/in-net-maui-app-how-can-i-avoid-the-ios-permission-alert/134497/3 "2025-03-20T17:09:08Z")

</div>

Hi @nkagarawal87,

Welcome to the Auth0 Community and sorry for the late reply.

To provide a bit of context, the main reason this prompt was added was to provide users more context about why a third-party website is about to appear, as well as surface the website domain to the user in a system-level prompt that can’t be faked by the app, more about this can be checked from this [okta blog](https://developer.okta.com/blog/2022/01/13/mobile-sso).

That alert box is displayed and managed by `ASWebAuthenticationSession` , because by default this API will store the session cookie in the shared Safari cookie jar. This makes single sign-on (SSO) possible. According to Apple, that requires user consent.

There is an out of the box solution only for the Auth0.swift SDK, detailed in this [Knowledge Article](https://community.auth0.com/t/ios-permission-popup-during-login-auth0-swift-sdk/151219).

For the MAUI integration, unfortunately there is no such existing solution at the moment in our current SDK. It is mentioned in this [Knowledge Article](https://community.auth0.com/t/using-prefers-ephemeral-webbrowser-session-in-auth0-maui-sdk/125695) that the **ASWebAuthenticationSessionBrowser** class is not yet exposed, so the workaround would be creating a custom Browser implementation.

i hope this helps your use case and provides general information as well.  
Thanks,  
Remus

---

_[View the full topic](https://community.auth0.com/t/in-net-maui-app-how-can-i-avoid-the-ios-permission-alert/134497)._
