refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] devtools login not work in Safari

Open linkscope opened this issue 1 year ago • 1 comments

Describe the bug

Hello, when I use devtools in Safari, the error Invalid-session-token will be reported when logging in. This problem will occur regardless of whether I use Github or Google to log in.

Steps To Reproduce

  1. Open the project in Safari
  2. Login when using devtools
  3. The pop-up page reports an error Invalid-session-token

Expected behavior

Log in successfully in Safari

Packages

  • @refinedev/devtools

Additional Context

My MacOS version is Sonoma 14.3.1, Safari version is 17.3.1.

linkscope avatar Mar 14 '24 08:03 linkscope

Hey @linkscope thanks for the report, we'll check it soon.

BatuhanW avatar Mar 14 '24 14:03 BatuhanW

Hey @linkscope sorry for the issue 🙏 I've just opened up a PR to address this issue. Authentication flow was broken due to cookie issues in Safari. I added a small tweak to the proxy tested it in Chrome and Safari, both are working fine 🚀

aliemir avatar Apr 18 '24 18:04 aliemir

Hey @linkscope sorry for the issue 🙏 I've just opened up a PR to address this issue. Authentication flow was broken due to cookie issues in Safari. I added a small tweak to the proxy tested it in Chrome and Safari, both are working fine 🚀

Thanks a lot for solving this problem and thanks to the team, your efficient work will motivate more people to use Refine.

linkscope avatar Apr 20 '24 17:04 linkscope