I’m using react-native-keycloak-plugin, login ok, but when I log out and come back in, it doesn’t ask me to re-login username and password, I don’t know if keycloak admin has configured to save login, or my await Keycloak.logout(); function doesn’t work
const _handleOK = async () => {
try {
await Keycloak.logout();
actions.dataLocal.logout();
dispatch({ type: CLEAR_TOKEN }); // Gọi action để xóa token
dispatch({ type: APP_LOGOUT });
NavigatorServices.navigate("login");
} catch (err) {
console.log(err);
}
};