You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The InterceptBeforeHttpAsync on HttpInterceptorManager is calling twice, because it is register twice.
Registered in MainBody.razor.cs OnInitializedAsync
Registered in MainLayout.razor.cs OnInitializedAsync
The server will generated two new refresh tokens and sometimes the client will store the first on. In the next try to refresh, the system will logout because the tokens are not the same.
To Reproduce
Steps to reproduce the behavior:
Go to 'browser F12 network tab'
Click on 'see multiple call to refresh token when token was expired'
If do not want to wait expired token, insert a console.,log in HttpInterceptorManager.InterceptBeforeHttpAsync and see in any request the console will have the value writed twice.
The text was updated successfully, but these errors were encountered:
Describe the bug
The InterceptBeforeHttpAsync on HttpInterceptorManager is calling twice, because it is register twice.
Registered in MainBody.razor.cs OnInitializedAsync
Registered in MainLayout.razor.cs OnInitializedAsync
The server will generated two new refresh tokens and sometimes the client will store the first on. In the next try to refresh, the system will logout because the tokens are not the same.
To Reproduce
Steps to reproduce the behavior:
If do not want to wait expired token, insert a console.,log in HttpInterceptorManager.InterceptBeforeHttpAsync and see in any request the console will have the value writed twice.
The text was updated successfully, but these errors were encountered: