#AquireTokenForClient doing nothing or hanging

1 messages · Page 1 of 1 (latest)

winter light
#

I have the following code which has been working fine up until this morning... I have done zero code changes but for some reason now when this executes it just does nothing, never moves to the next line of code etc.

AuthenticationResult result = await App.AcquireTokenForClient(scopes).ExecuteAsync();

My assumption is that is calling Azure to get a token but is hanging for some reason.

I have checked and the the client secret and they are valid (secret not expired etc)

Using the Microsoft.Identity.Client library.

Can anyone suggest how to troubleshot this?

winter light
#

This is running inside a Blazor Server Side App