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 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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant