Identity requests Approval for every transaction after cookie expires
I originally posted this in /frontend, but it was the wrong place. We're having an issue on Safari desktop with approvalRequired on the React web app we're building. I understand that Identity needs to request access again 1 week after login, but we are finding that even after approval is given, and the cookie is updated, Identity continues to request access for every transaction thereafter. i.e.:
Given that I'm using Safari And I logged in 1 week ago with access level 4 When I attempt to buy a coin Identity requires me to Approve transaction And when I Approve transaction, then it is successful But when I attempt another transaction Then Identity asks for approval again Despite the fact that the seed-hex-key in Cookies was correctly updated to last another week (i.e. now to expire 2 weeks from when I originally logged in)
We'd appreciate if you could look into this or provide some insight.
I'd love to help figure this out. First, I'm wondering about what your local setup looks like. Are you running a local copy of Identity? If not, are you using localhost to develop your app? Is this reproducible on a real domain like myapp.com and identity.bitclout.com? I've seen lots of weird behavior when developing Identity locally.
Thanks maebeam. I'm using identity.bitclout.com and a firebase hosted web-app, and that's where we noticed the issue. I also ran a local copy of Identity and I get the same behaviour.
Would you be willing to share the URL of the firebase app so I can play with it?
Of course, will send it to you privately :)