Seeing logout confirmation page only on an iPAD

We are seeing a logout confirmation pop-up on iPAD and iPhone, but not on macbook or windows browsers. This is a .net MAUI Blazor application. Anyone had similar experience?

It basically shows a message saying Hi <username/email>, Are you sure you want to log out from ? Then button ‘No’ and ‘Yes’.

Thanks

-Carol

Hi @cli,

Welcome back to the Auth0 Community!

Apple’s mobile operating system has a security feature that displays a consent dialog when an application tries to interact with an external service that logs a user out, so your app must delete the Auth0 cookie from the shared browser session.

In order to avoid this behavior you can implement a solution described in the FAQ section of the Auth0 Swift SDK. I would suggest enabling an EphemeralSession() for your application, which will prevent the browser from sharing session or cookies with the regular browser. On the .net MAUI side you can enable this property using the WebAuthenticatorOptions Class.

I hope this helps your use case!

Kind regards,

Remus

Hey Remus,

Thank you for the prompt response.

However we are using “RemoteAuthenticatorView” in blazor to handle the login/logout process. How should I go about it when I have no direct access to WebAuthenticatorOptions?

Thanks much!

-Carol

Hi @cli,

I totally understand your perspective in trying to give users the best experience by not prompting them for the logout pop-up on iPhones and iPads. Apple’s iOS security model is the reason behind it, and we have little control over it, so other then using EphemeralSessions we do not have a streamlined approach of avoiding this, even though it has been already raised by multiple customers. We have previously raised the issue with Apple, but beyond that, there isn’t much more we can do as this is ultimately their decision, and they are quite strict about this since it’s designed to give users control over their information and privacy.

Thanks,

Remus