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

Maui crashes on login button clicked #151

Closed
emw1909 opened this issue May 9, 2024 · 2 comments
Closed

Maui crashes on login button clicked #151

emw1909 opened this issue May 9, 2024 · 2 comments
Assignees

Comments

@emw1909
Copy link

emw1909 commented May 9, 2024

at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Windows.Security.Authentication.Web.IWebAuthenticationBrokerStaticsMethods.AuthenticateAsync(IObjectReference _obj, WebAuthenticationOptions options, Uri requestUri, Uri callbackUri)
at Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync(WebAuthenticationOptions options, Uri requestUri, Uri callbackUri)
at Microsoft.Maui.Authentication.WebAuthenticatorImplementation.d__0.MoveNext()
at MauiApp1.MauiAuthenticationBrowser.d__0.MoveNext() in C:\Development\Research\IdentityModel.OidcClient.Samples-main\IdentityModel.OidcClient.Samples-main\Maui\MauiApp1\MauiApp1\MauiAuthenticationBrowser.cs:line 12
at IdentityModel.OidcClient.AuthorizeClient.d__4.MoveNext()
at IdentityModel.OidcClient.OidcClient.d__9.MoveNext()
at MauiApp1.MainPage.d__3.MoveNext() in C:\Development\Research\IdentityModel.OidcClient.Samples-main\IdentityModel.OidcClient.Samples-main\Maui\MauiApp1\MauiApp1\MainPage.xaml.cs:line 24

@josephdecock josephdecock self-assigned this May 21, 2024
@josephdecock
Copy link
Contributor

Yes, we use the WebAuthenticator component from maui, which supports mobile platforms but not windows. The maui sample isn't meant to work as a windows app. It should work on iOS and android.

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

No branches or pull requests

3 participants