Add Authentication to .NET MAUI Apps with Auth0

Fortunately the fix is easy. It would be great if you included an instruction that to call your API you have to send a request with audience set like this.

await oidcClient.LoginAsync(new LoginRequest()
{
    FrontChannelExtraParameters = new Parameters(new Dictionary<string,string>()
    {
        {"audience", "YourAPIIdentifier"}
    })
});
1 Like