Safari (macos) Invalid request error
Invalid Request in
macOS Safari Version 17.5 https://localhost:4200 and https://production @nimiq/hub-api": "1.8.0"
The same error in both: checkout and chooseAddress
Fails on regular and incognito mode Works on iOS Safari, works on Brave
Nothing interesting in console.
Can you share a minimal reproduction repo?
I've identified the cause of the issue. It's in Safari settings.
"Use advanced trancking and fingerprint protection" breaks the wallet.
Reopening, just in case something can be done in wallet's implementation.
To make things worse, pinned tabs in safari also does not work with wallet with the same error, because, as I understand, Safari opens the wallet in a different tab and because of isolation, session storage is null.
Not able to reproduce it, I have tried in testnet and everything is working as expected, pinnned tab included.
If you have a minimal reproduction repo would be helpful to debug since your issue might be related to localhost limitations
I have made a short video of it happening in non local environment + testnet. PS. What also may be useful - if you change settings in Safari, you must open a new tab to apply them.
https://github.com/user-attachments/assets/56642a83-0150-4704-914f-36c283dc11e8
Seems like it's only happening in POS Testnet, at least I cannot reproduce it in Mainnet or POW Testnet. Maybe @sisou knows more about it