react-aad icon indicating copy to clipboard operation
react-aad copied to clipboard

AADSTS50105: Page not rendering on server Environment

Open raj-here opened this issue 5 years ago • 0 comments
trafficstars

Hi, In local, This is page being rendered if The signed in user '[email protected]' is not assigned to a role for the application.

It is working fine.

image

But when I'm trying to produce the same thing on server, It is not being rendered.

Earlier, It was fall under infinite loop. I've follow the Issue #463 (https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/463) . and got the solution for Endless redirect on access_denied error AADSTS50105 #463 .

Below line solved my problem for infinite loop. navigateToLoginRequestUrl: false

But How can I get the above same page on server env. In Server Environment It's being redirect to my Login URL while on server it rendered the above page.

Any idea how to stop this endless loop as well as show the AADSTS50105: Page on server Environment.

raj-here avatar Jul 01 '20 09:07 raj-here