EveripediaNetwork / issues

Issues repo
9 stars 0 forks source link

Infinite Loops in Cookie Handling #2363

Open Softdev1 opened 7 months ago

Softdev1 commented 7 months ago

Description

we need to find the proper to handle cookies in the authentication page of iqgpt this is because, there is a case of infinite loops, we need to debug this and do a proper fix .

Image

Image

SidharthK2 commented 7 months ago

I cleared cookies and now I'm unable to reproduce it.

Image

Damola18 commented 7 months ago

I am looking into this at the moment

Softdev1 commented 7 months ago

what is the update on this issue @Damola18

Adebesin-Cell commented 7 months ago

https://github.com/magiclabs/magic-js/issues/733 I opened an issue in magiclabs, it seems to be an issue from the magic sdk.

kesar commented 7 months ago

are there all our issues solved if we use an old wagmi / different crypto library working? because perhaps thats what we need to do since we use it very little in our products and seems to be a continuous issue across all our sites

cc: @Adebesin-Cell / @Royal-lobster

Adebesin-Cell commented 7 months ago

are there all our issues solved if we use an old wagmi / different crypto library working? because perhaps thats what we need to do since we use it very little in our products and seems to be a continuous issue across all our sites

cc: @Adebesin-Cell / @Royal-lobster

We'd have to investigate which one makes it seamless for creating address from social logins. But I believe there should be more alternatives to use.

Adebesin-Cell commented 7 months ago

This also doesn't happen on only iq-search repo, it happens on ep-ui as well. I'm thinking it would for iq social if we use social logins there.

stackblitz.com/edit/stackblitz-starters-bbb65e?file=app%2Fpage.tsx,app%2Fconfig.ts,package.json

Royal-lobster commented 7 months ago

are there all our issues solved if we use an old wagmi / different crypto library working? because perhaps thats what we need to do since we use it very little in our products and seems to be a continuous issue across all our sites

cc: @Adebesin-Cell / @Royal-lobster

I believe this issue is coming from the magic script directly, the cookies its setting is from magic domain, which is considered as third party cookie, we opened a issue on magic repo for this https://github.com/magiclabs/magic-js/issues/733