Logout Offline Xamarin / Maui

Hi,

I have been trying to create an app which I started in Xamarin but have now started using Maui and both times, I’ve hit the same issue that I can’t seem to get my head around.

I have followed this to set up the application. Add Authentication to .NET MAUI Apps with Auth0

While I am requiring the user to log in while connected to the internet user may want to log off while not connected to the internet, but I can’t work it out.

Hi @AJ_Duck,

Welcome to the Auth0 Community!

Logging off while not connected to the internet will prevent the Auth0 Session from being terminated. All you can do is terminate the app session, i.e. remove cookies, tokens, etc.

Does that help clarify things?

Here’s more info on the layers:

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