Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser window open after login #323

Open
5 tasks done
figuerres opened this issue Mar 10, 2024 · 1 comment
Open
5 tasks done

browser window open after login #323

figuerres opened this issue Mar 10, 2024 · 1 comment
Labels

Comments

@figuerres
Copy link

Checklist

  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

i have a new dot net maui application using dot net v 8
i have working login and logout and token management that work as expected so far on both windows and android devices.

i do seem to have two bugs one is that the browser tab / window is not closed after login both on windows and an android.

a second item is that when i try to use the android emulator on windows the login crashes the emulator and i have no idea why or how to fix that.

also debug on my actual phone also breaks , but i can run the phone app w/o debug fine. with debug no joy.

Reproduction

use this sample from the aut0 blog
https://auth0.com/blog/call-protected-api-from-dotnet-maui-application/

setup the maui app and run it.

see that the login browser window stays open.

Additional context

No response

auth0-oidc-client-net version

1

.NET version

8.x

Platform

Android, Windows

Platform version(s)

windos 11, android 34

@figuerres figuerres added the bug label Mar 10, 2024
@frederikprijck
Copy link
Member

Thanks for reaching out.

The browser staying open on windows is a known thing, we can't realy control the process to close it.
This might one day be resolved once Microsoft adds support for Windows for their WebAuthenticator, but it's not uncommon on Windows platforms for browsers to not auto-close due to the lack of control.

More info on that lack-of-support for Windows in the MAUI Web Authenticator:

Regarding Android, we'll need to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants