fix(OpenIdConnectRoutes): fix handleUnauthenticated (#3617)

This commit is contained in:
mccle 2023-08-29 12:36:41 -04:00 committed by GitHub
parent eafc716d00
commit 35fc30c535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;