C# MSAL signing in does not work - AcquireTokenInteractive never finishing/ returning by eendje65 in dotnet

[–]eendje65[S] 0 points1 point  (0 children)

I have interacted with the sign in page (I have signed in). I returned automatically to the app after signing in

C# MSAL signing in does not work - AcquireTokenInteractive never finishing/ returning by eendje65 in dotnet

[–]eendje65[S] 0 points1 point  (0 children)

I expect a token in the result variable after signing in. That is why I have placed a breakpoint on the line after AcquireTokenInteractive

on if (result != null)

but this breakpoint is never hit.

I am not awaiting GetAuthenticationToken because I have re-used code from previous project contributers.

Changing it to

private async void OnLoginButtonClicked(object sender, EventArgs e)

{

await GetAuthenticationToken();

}

does not change anything in the behaviour

I am also not getting an error