auth fixes 2
This commit is contained in:
parent
06a1fc4cfb
commit
59c9d3639e
|
|
@ -92,8 +92,8 @@ namespace TIAMSharedUI.Shared.Components
|
|||
var userBasicDetail = JsonConvert.DeserializeObject<UserBasicDetails>(userDetailsStr);
|
||||
serverResult = await UserDataService.Logout(userBasicDetail.RefreshToken);
|
||||
}
|
||||
await AuthStateProvider.GetAuthenticationStateAsync();
|
||||
await SecureStorageHandler.ClearAllSecureStorageAsync();
|
||||
await AuthStateProvider.GetAuthenticationStateAsync();
|
||||
sessionService.User = null;
|
||||
sessionService.IsAuthenticated = false;
|
||||
navigationManager.NavigateTo("/");
|
||||
|
|
|
|||
Loading…
Reference in New Issue