Slow MSAL response

Tycho Verstraete 1 Reputation point


The MSAL authentication sometimes gives a slow response (inconsistent between 10 and 60 seconds). Also, within their network (though consistent) they get to see the message "we are trying to log you in" 3 times after they have logged in. We've already looked at where that might happen in the code. And the code keeps faltering for a while on this await of this promise (see screenshot).
Is it a common issue that the MSAL-server is slow at some occurrences or can we do something to speed up this process?

I’ve also attached the MSAL configuration (see other screenshot).

Thanks in advance!

With kind regards
Tycho Verstraete

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,517 questions
{count} votes