Oddbean new post about | logout
 Updated Nostr-Login widget with "nostrconnect:" support!

Below is a short demo. We reworked the UI to group the options better, and the main addition is support for nostrconnect: nip46 connection strings. These allow us to have a one-click experience when connecting to key store, instead of having to enter a user name. Bonus - quick access to Amber app!

Npub.pro sites and all apps using latest nostr-login should be updated now.

https://v.nostr.build/rRWnNyEuzgK6cNnO.mp4

Learn more: https://nostrlogin.org
Source & docs: https://github.com/nostrband/nostr-login 
 All nostr-sites have an improved login UX now!

nostr:nevent1qqs9y7lmdtg7hdk4qh2s5n0xtw6pqm0t98hlyxp5d8wh56z46frnyngpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59upzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqvzqqqqqqy02yznt 
 I still see old login on sites and comments. But on npub.pro main page I can see the new login. 
 Using mobile here. 
 I logged in on npub.pro but when I go to a npub site not mine it's not logged.  
 Each site has it's own session. It's not about being logged in everywhere, it's about being ABLE to login everywhere  
 Understood. Thanks. 
 What disappoint me is that everytime I try to comment on a npub site, doesn't work.
https://image.nostr.build/93a311adf962c8f9043ce5aefa3bb6000287d74ee3dd92ec9c3977bccb43150a.jpg 
 Indeed there's an issue, fixing 
 Great, let me know when it's fixed. Thanks. 
 Hi, should be fixed now - the red warnings aren't appearing and publishing of comment should be faster. Could you please check? Updated on https://reiartur.npub.pro , coming to other sites soon too. Thanks! 
 I'm https://image.nostr.build/713db292bcb225298306108039c58b73cede7e43e72dde826e7d5179e1ab35e3.jpg able now to connect and comment using Firefox with Amber. On Brave I tried to connect using Amber but stay connecting forever.
 
 Now I was able to connect on Brave too.  
 Great! 
 I see this now:
https://image.nostr.build/6b21941e1a2ac74b7891b8b1846f3740f1ef6f45357cd3d9a3b68204ed6eaee1.jpg 
 Did you use Amber or nsec.app? 
 Amber. 
 Did Amber work with other apps? If you reload the page and try again - does it work?
Check that Amber has network perms, that it's launched, that you have Notification Type = Direct or have nfty installed, update to latest if not helping, ask @greenart7c3 if still no luck 😉  
 Yes, amber works with other apps. Reload doesn't work.
Nfty is installed.
https://image.nostr.build/c6f431fbda142eb06e2693d8e39f079da8c4525f274cef4b601cdec0eb0fab58.jpg 
 Tested with Brave and Firefox, same problem. 
 Try switching notification type to Direct, please. nostr:nprofile1qqs827g8dkd07zjvlhh60csytujgd3l9mz7x807xk3fewge7rwlukxgpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te0dehhxtnvdakz7qgswaehxw309ahx7um5wghx6mmd9usjfpck looks like notif server is not working again  
 I think it's the same issue as before
The relay is losing the connection on chrome browsers, I tested on chrome and it didn't connect but on Firefox it worked fine  
 The push server was not working. I put a contab to restart every hour now and I'll try to fix it next week 
 Firefox didn't work for me. 
 The problem is that nothing works. I tried with PC using Alby and do not work too:

https://nostrcheck.me/media/619af6a60b3fe4c733aaca061c522cc9c7cf1d87ef4c908facc5ed936d3bdf23/b0d59a55cdd79837afd1ff74ae12c8b4a0c4187f7a6991f3867647ce31b97942.webp 
 Are you using the default relay? 
 On Amber:
https://image.nostr.build/ec00e493378ef4c53470b8a681d3f68fb42d37f306474b233b8ee6f0e48820e2.jpg 
 Try going into settings and changing the notification type to push server and select ntfy app.
Force close amber and open it again
Check if in ntfy there's a url there 
Then try connecting to an app
Also check if amber has network permission  
 Sorry, taking a while to update  
 Ok, thanks. 
 This is awesome; much needed. 

I STILL cannot login with any form of extension via mobile on android (grapheneOS) except for Nostrudel via Amber, using nsec bunker. 

Here's a video of trying to get it to work with npub.pro as shown in your example. 

https://video.nostr.build/47ec9dfd2d3c8c10686e702d87230a5637ba38e43d41f8ca981d015a9a5970a2.mp4
nostr:nprofile1qqs827g8dkd07zjvlhh60csytujgd3l9mz7x807xk3fewge7rwlukxgpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te0dehhxtnvdakz7qgswaehxw309ahx7um5wghx6mmd9usjfpck why does nothing happen when the app is prompted to be open? Below the only remote signing that works is with nostrudel, hivetalk and satshoot do not work. 

What am I doing wrong? All my permissions are open and allowed on Amber. 

If this can't be fixed by user, I'll make a significant bounty to get this fixed ASAP. 

#asknostr


 
 Try choosing Advanced -> Connection string in the site, copy the string and in Amber go to permissions, +, Paste - maybe that one works. Although in my case it's the reverse - Amber works if I click "Amber" on the site, but doesn't if I scan/paste the string. Already reported, so maybe it gets fixed 
 Yes it works better in reverse for me too. 

Funny enough I tried your nsec.app once again and whatever you fixed it works seamlessly now. Great work thank you very much. 

Hopefully Amber bug gets fixed soon; I'm sure it will.  
 Awesome!  
 I'm trying to debug what's happening here. I fixed some connection issues locally in amber but when I get back to the npub.pro website it reconnects to the relay.nsec.app receive the events but the connect dialog keeps loading  
 It isn't receiving the event I sent and I'm getting a lot of connection refused when getting back from amber to npub.pro 
 Could you please try again? nsec.app relay was spinning 100% CPU for some reason, restarted 
 If I turn off the VPN it works but with the VPN on it keeps loading forever  
 That's strange, I have nothing against VPNs on the relay's end 
 Looking at the console it says connection refused. Maybe it's something from chrome, I'll try Firefox to see if I have the same problem there 
 Using Firefox worked 
 Maybe this is something you can fix by checking the relay connection after a few seconds when reopen the subscription if it got disconnected? 
 Yeah, I got that logic in nsec.app, need to repeat on nostr-login. At least you can just refresh the page to make it reconnect. 
 Amber doesn't open for me when clicking the amber option. Just get this. https://image.nostr.build/09b888ed7d8ab432f654e1aaa97e0c4633c6fbc185d0daaea21da16db93e3452.jpg

I also don't have any + button in amber permissions screen?

https://image.nostr.build/b8d8d977977436847279e4082659edcbba53354dcdf11181e08470dc307559aa.jpg 
 @greenart7c3 any ideas?  
 I think he's using the offline apk or an old version. He need to use the play or free version  
 And I am using fdroid version 
 What's the difference between the free and play version? 
 The free versions uses ntfy for push notifications 
The play version uses play services  
 Thanks. Downloaded and works smoothly. Gj! 
 It's like that for me too. 
 Need to update to latest and ensure network access  
  Thank you. I updated and was able to log in through the connection string option. The Amber app closed but I was able to log in. 
 Try updating to 1.3.4 and see if it works 
 👍 
 Adding Amber support here is amazing. This simplifies the login process and allows users to have the ultimate amount of control over their private keys. 

I mentioned Amber in my 101 talk at Nostriga. This tool allows users to have a familiar authorization style login to Nostr powered apps. 

We are blooming. 
nostr:nevent1qqs9y7lmdtg7hdk4qh2s5n0xtw6pqm0t98hlyxp5d8wh56z46frnyngpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygpn2m0xrvukg7f3e69jzs9jh2ur0cypps8029dmayk7qfyqgzutm5psgqqqqqqsue7m6r 
 🫡💜 
 Great! Will check it for the leaderboard of Shitcoin Sweeper🏆🕹️

https://bitcoin-explorama.com/shitcoinsweeper 
 Works great. I had a thought when visited my site and when I checked some comments under some notes/images that may be some sort of pop up with info about new comments, zaps would be cool...or is it doubling Nostr in this case? 
 That sounds cool, adding to our list! Thanks! 
 You did miss it: nostr:nevent1qqs9y7lmdtg7hdk4qh2s5n0xtw6pqm0t98hlyxp5d8wh56z46frnyngpzpmhxue69uhkummnw3ezumt0d5hsygpn2m0xrvukg7f3e69jzs9jh2ur0cypps8029dmayk7qfyqgzutm5psgqqqqqqsskfvh4