refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
25.92k stars 1.96k forks source link

fix(devtools): failing auth status checks #6059

Closed aliemir closed 1 week ago

aliemir commented 1 week ago

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

Fixes #6047

Devtools was failing to determine the auth status and always end up redirecting to the login page regardless of the actual auth status. This was due to the missing check on the auth request that was causing all valid responses treated as unauthenticated.

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 4908805019a6746b834974f8c7a0eabec1467c11

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | -------------------------- | ----- | | @refinedev/devtools-server | Patch | | @refinedev/devtools-ui | Patch | | @refinedev/cli | Patch | | @refinedev/devtools | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

cypress[bot] commented 1 week ago

Passing run #11208 ↗︎

0 72 31 0 Flakiness 0

Details:

Merge fdcd80dd5ec93d2002fb0dac733ea1ddc87ff6f3 into af042511aa26cff83b238a30f5a4...
Project: refine Commit: db2b5a35ab ℹ️
Status: Passed Duration: 18:31 💡
Started: Jun 20, 2024 12:50 PM Ended: Jun 20, 2024 1:09 PM

Review all test suite changes for PR #6059 ↗︎