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

Reply to this note

Please Login to reply.

Discussion

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.

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 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:

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 nostr:npub1w4uswmv6lu9yel005l3qgheysmr7tk9uvwluddznju3nuxalevvs2d0jr5 if still no luck ๐Ÿ˜‰

Yes, amber works with other apps. Reload doesn't work.

Nfty is installed.

Tested with Brave and Firefox, same problem.

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.

Are you using the default relay?

On Amber:

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.

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

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!