fix(OpenIdConnectRoutes): fix handleUnauthenticated (#3617)
This commit is contained in:
parent
eafc716d00
commit
35fc30c535
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user