Given your use case and based on @raghvendra-n's answer, you could take advantage of post_logout_redirect_uri parameter.
const signOut: JwtAuthContextType['signOut'] = useCallback(() => {
removeTokenStorageValue();
removeGlobalHeaders(['Authorization']);
setAuthState({
authStatus: 'unauthenticated',
isAuthenticated: false,
user: null
});
auth.signoutRedirect({post_logout_redirect_uri: "http://host:8080/connect/logout"});
}, [removeTokenStorageValue]);
What I would like to add, is as can be seen from the code, signoutRedirect needs an absolute path to the URL