Skip to content

ConfidentialClientApplicationBuilder should work anywhere #742

@MhAllan

Description

@MhAllan

I have registered Client app to Manager users of Azure AD B2C. Now I want to use that app to manage users through a UWP application. but this code is not working

 var app = ConfidentialClientApplicationBuilder
                        .Create(config.ClientId)
                        .WithClientSecret(config.ClientSecret)
                        .WithTenantId(config.Tenant)
                        .Build();

Throwing 'Confidential Client flows are not available on mobile platforms or on Mac

I should be able to do whatever I want even this exposes a secret in devices, that should be my decision.

Workaround

Create your own IAuthenticationProvider and refresh token manually using REST calls

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions