Check nip 55, usage for web applications section
If you need more than just a login with nostr then it's better to use nip 46
Check nip 55, usage for web applications section
If you need more than just a login with nostr then it's better to use nip 46
Ok, thank you. I just forked the question so the other person cleared his question.
I thought it wasn't possible. 🙄 Are there any updates? I'm still struggling with this issue.
Hi greenart7c3, I'm looking for a javascript example online. Can you point me in the right direction? Thank you.
login/sign with amber from mobile browser - NIP-46 I guess
There's this library by nostr:nprofile1qqszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgpr3mhxue69uhhxct5v4kxc6t5v5hxs7njvscngwfwvdhk6tcpzfmhxue69uhkummnw3e82efwvdhk6tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsk7wj75
https://hzrd149.github.io/applesauce/accounts/accounts.html
https://github.com/nostrband/nostr-login
https://github.com/fiatjaf/window.nostr.js
There's probably more but I don't remember them now
Thank you greenart7c3 🫡
Unfortunately, I'm unable to use this code on mobile using Amber. I can only authenticate with Nsec.app and even then, it's not very smooth. When using Amber, the app redirects to Amber, I approve, it goes back to my app, and no event is triggered (in the case of widgets, it stays on "Connecting..."). I might be missing something
Browsers may disconnect when you open another app or another tab. You need to check the connection and reopen the subscription from the relay
Also try using another relay like citrine or a relay in your computer to see if it gives you a better experience
Thanks for the tips! The issues are not related to communication with the relays. I just can't get info from Amber, whether through a link to Amber, Bunker, or QR code.
I managed to use Amber with Flutter using the package amberflutter. I'll explore this to see if I can move forward here. Thanks 🫡
Hello, good afternoon. I was using the amberflutter package version 0.0.1 for Android and the Amber app version v3.2.6-free, and everything was working fine.
When I updated Amber to version v3.4.1-free, it stopped working properly — it's constantly asking for permissions, even when I grant full access. Do you know what it could be?
(I've already tried using version 0.0.9 of the amberflutter package and it still doesn't work; it really seems to be related to the latest version of Amber.)
Thank you very much.