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

Brave / Edge not supported #46

Open
FreeTrade opened this issue Jun 28, 2021 · 14 comments · Fixed by #50
Open

Brave / Edge not supported #46

FreeTrade opened this issue Jun 28, 2021 · 14 comments · Fixed by #50

Comments

@FreeTrade
Copy link

Running into an issue with member.cash identity login - all requests are returning {approvalRequired: true}

The issue seems to be -

In the login window, a value, 'seed-hex-key-member.cash' is set in localStorage.

The iframe expects to be able to retrieve this value but finds that localStorage is empty so creates a new value.

localStorage is both get and set in the identity 'seedHexEncryptionKey' method.

Not sure why this issue is present on member.cash but not on bitclout.com - maybe to do with third party domain restrictions.

Issue can be seen and tested on current member.cash site.

Issues is consistent across Windows 10 Brave, Windows 10 Edge, Android Brave

@andrewarrow
Copy link

what level were the logins approved for? Like if approved for level 3 and you try and do a level 4 action, you might get approvalRequired: true

@FreeTrade
Copy link
Author

Following more testing - this seems to work fine in Windows 10 Firefox and Windows 10 Chrome -

Looks like this is issue is browser specific. Brave/Edge

@maebeam
Copy link
Contributor

maebeam commented Jul 2, 2021

Brave / Edge are currently slightly broken. I will work on fixing this

@FreeTrade
Copy link
Author

hmm, yes, these browsers are both returning
browserSupported: true
hasStorageAccess: true

@maebeam maebeam changed the title localStorage is different between login window and iframe - error {approvalRequired: true} Brave / Edge not supported Jul 7, 2021
@FreeTrade
Copy link
Author

This was closed, but identity login still not working on brave - try logging into member.cash and taking an action or viewing pm -

using firefox (works) chrome (works) vs brave (broken) vs edge (broken).

@maebeam
Copy link
Contributor

maebeam commented Jul 18, 2021

I will deploy Identity now to fix this

@maebeam
Copy link
Contributor

maebeam commented Jul 18, 2021

This fix is now live, let me know if it works for you

@FreeTrade
Copy link
Author

Happy to report that Edge now works!

Brave still broken.

@maebeam maebeam reopened this Jul 19, 2021
@FreeTrade
Copy link
Author

Thanks for re-opening. Noticed older versions of Safari also not working - tested 12.4. Not sure which browsers you'll choose to support, but probably a good idea to publish a list of minimum required version types so we know if it's a bug or if it just not supported.

Note on Brave - has quite small user numbers, but is disproportionately used by crypto folks I think.

@maebeam
Copy link
Contributor

maebeam commented Jul 20, 2021

Thanks for helping test this so thoroughly. Are you just using an old Mac/iPhone to test old Safari or do you have a tool you'd recommend?

@maebeam
Copy link
Contributor

maebeam commented Jul 20, 2021

On first glance Safari 12 contains the first release of Intelligent Tracking Prevention and it could very well be the case that we simply are unable to support it. I can dig into this more though.

Regarding Brave, I will prioritize a fix since it is so widely used in crypto.

@FreeTrade
Copy link
Author

Thanks for helping test this so thoroughly. Are you just using an old Mac/iPhone to test old Safari or do you have a tool you'd recommend?

Sure thing - I just tried it out on a friends ipad mini 3 - nb it couldn't deal with webp images either so if you're going to stick with those, might be best to set a minimum bar on browser support.

@maebeam
Copy link
Contributor

maebeam commented Jul 22, 2021

Wow I can't believe Apple didn't add support for WebP until Safari 14.

@dennishlewis
Copy link

hey @maebeam any idea when you'll get to this - lots of Brave users in crypto!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants