-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I upgrade refine from 4.x to 5.x. In new 5.x version, I found this bug.
When my web session is expired and the server return 401, then refine redirect to login page.But I can't log in unless I refresh the login page。Because the refine loop in reminding me 401 error when I log in again,even the login interface returns success。
Steps To Reproduce
1.login in
2.go to A menu
3. delete cookie in brower
4. go to B menu
5. now will redirect to login
6. login again will failed because always call authProvider.onError
Expected behavior
login success after session expired(
Packages
"@refinedev/antd": "^6.0.1",
"@refinedev/cli": "^2.16.48",
"@refinedev/core": "^5.0.1",
"@refinedev/devtools": "^2.0.1",
"@refinedev/kbar": "^2.0.0",
"@refinedev/react-router": "^2.0.0",
"@refinedev/simple-rest": "^6.0.0",
Additional Context
No response
BatuhanW
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working