Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

MAUI sample on UWP crashes on login #142

Open
dvaca-sml opened this issue Feb 15, 2024 · 0 comments
Open

MAUI sample on UWP crashes on login #142

dvaca-sml opened this issue Feb 15, 2024 · 0 comments

Comments

@dvaca-sml
Copy link

When I click the login button, I get the following exception:

System.InvalidOperationException: You need to declare the windows.protocol usage of the protocol/scheme myapp in your AppxManifest.xml file at Microsoft.Maui.Authentication.WebAuthenticatorImplementation.AuthenticateAsync(WebAuthenticatorOptions webAuthenticatorOptions) at MauiApp2.MauiAuthenticationBrowser.InvokeAsync(BrowserOptions options, CancellationToken cancellationToken)

I tried adding this to the manifest but I couldn't get it to work. And I couldn't find any help or documentation online.

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

No branches or pull requests

1 participant