fix(OpenIdConnectRoutes): fix handleUnauthenticated (#3617)

This commit is contained in:
mccle authored and GitHub committed 2023-08-29 12:36:41 -04:00
1 parent eafc716d00
commit 35fc30c535
1 file changed
+2 -2
@@ -122,8 +122,8 @@ function OpenIdConnectRoutes({
};
};
const handleUnauthenticated = () => {
userManager.signinRedirect();
const handleUnauthenticated = async () => {
await userManager.signinRedirect();
// return null because this is used in a react component
return null;