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

MAUI sample on UWP crashes on login #142

@dvaca-sml

Description

@dvaca-sml

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions