Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Invalid session token on login in Safari DevTools #6047

Closed
lekhok opened this issue Jun 13, 2024 · 12 comments · Fixed by #6059 or #6065
Closed

[BUG] Invalid session token on login in Safari DevTools #6047

lekhok opened this issue Jun 13, 2024 · 12 comments · Fixed by #6059 or #6065
Assignees
Labels
bug Something isn't working

Comments

@lekhok
Copy link

lekhok commented Jun 13, 2024

Describe the bug

An "Invalid-session-token" error occurs when trying to log in via devtools in Safari, regardless of using Github or Google for authentication.
Screenshot 2024-06-13 at 19 32 58

Steps To Reproduce

Open your project in Safari.
Access DevTools.
Attempt to login using either Github or Google.
An error displays the "Invalid-session-token".

Expected behavior

Successful login within Safari DevTools using the chosen authentication method (Github or Google).

Packages

@refinedev/devtools version "^1.1.32"

@refinedev/cli: "^2.16.21"
@refinedev/core: "^4.47.1"
@refinedev/devtools: "^1.1.32"
@refinedev/kbar: "^1.3.6"
Safari Version: 17.5
Date: June 13, 2024

Additional Context

The same issue occurs when signing in with Github, resulting in the error message.
Google Signin doesn't provide an error message but redirects back to the login page repeatedly.

@lekhok lekhok added the bug Something isn't working label Jun 13, 2024
@lekhok
Copy link
Author

lekhok commented Jun 15, 2024

Still no access to devtools @refine-bot

@ithomaslin
Copy link

I can reproduce this on Chrome

@lekhok
Copy link
Author

lekhok commented Jun 17, 2024

I can reproduce this on Chrome

so have you been able to login yet?

@ithomaslin
Copy link

ithomaslin commented Jun 17, 2024

No, it always redirected me back to the login page.

@lekhok
Copy link
Author

lekhok commented Jun 17, 2024

No, it always redirected me back to the login page.

Seems like a major issue then, let's see if anyone can address it out

@kraigh
Copy link

kraigh commented Jun 18, 2024

I also have this issue. Side note- why exactly is login required to access devtools?

@PrabeenGautam
Copy link

Same, can not open devtools. Using chrome browser. Whoami can not detect browser.

## System:
 - OS: Windows 11 10.0.22631
 - CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
## Binaries:
 - Node: 20.12.1 - C:\Program Files\nodejs\node.EXE
 - Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
 - npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
## Browsers:
 - Chrome: Not Found

## Refine Packages:
 - @refinedev/antd: 5.40.0
 - @refinedev/cli: 2.16.33
 - @refinedev/core: 4.51.0
 - @refinedev/devtools: 1.2.3
 - @refinedev/kbar: 1.3.12
 - @refinedev/nestjs-query: 1.3.0
 - @refinedev/react-router-v6: 4.5.11

@lekhok
Copy link
Author

lekhok commented Jun 19, 2024

Same, can not open devtools. Using chrome browser. Whoami can not detect browser.

## System:
 - OS: Windows 11 10.0.22631
 - CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
## Binaries:
 - Node: 20.12.1 - C:\Program Files\nodejs\node.EXE
 - Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
 - npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
## Browsers:
 - Chrome: Not Found

## Refine Packages:
 - @refinedev/antd: 5.40.0
 - @refinedev/cli: 2.16.33
 - @refinedev/core: 4.51.0
 - @refinedev/devtools: 1.2.3
 - @refinedev/kbar: 1.3.12
 - @refinedev/nestjs-query: 1.3.0
 - @refinedev/react-router-v6: 4.5.11

So I guess it's not a Mac specific issue

@aliemir
Copy link
Member

aliemir commented Jun 20, 2024

Sorry for the issue everyone! We've just merged a fix for this issue and it will be released in the next couple hours 🚀 I'll update here when its released and you can validate if its resolved 🙏

@aliemir aliemir reopened this Jun 20, 2024
@aliemir
Copy link
Member

aliemir commented Jun 20, 2024

Changes are just deployed, you can update your dependencies:

🚀

@aliemir
Copy link
Member

aliemir commented Jun 21, 2024

Closing this for now after #6065, feel free to re-open if the issue continues 🙏

@aliemir aliemir closed this as completed Jun 21, 2024
@lekhok
Copy link
Author

lekhok commented Jun 22, 2024

Thank you @aliemir
I am currently at the hospital as my mom is admitted, will check when I am home! Thank you for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
5 participants