Replying to Avatar Daniele

Are you trying to self host the nsec app and server?

Reply to this note

Please Login to reply.

Discussion

certainly not.

that's just what happens with just the code I pasted.

You should enter some real name to login form, not name@domain?

not sure why screenshot got that way, I Was certainly trying with my actual account...

ok, after a few attempts it start the actual popup.

Modals and pop-ups makes everything messy if you ask me, and they screw back-forward navigation in the flow. I got confused, think about the poor users... And if something got stuck I do not have control.

Is there a way to just redirect user to nsec.app that will show the authorization screen? No modals, no popup whatsoever or nostr-login. Just plain old links.

We plan to let you include just a form without modal in your page, we could also fire a authUrl event and then you could redirect there, but then somehow we would have to forward people back. There was a redirect url param somewhere in nip46, will look into that

Thanks.

To do if from scratch, but without hosting bunker daemon myself, I should follow this: https://github.com/kind-0/nsecbunkerd/blob/master/OAUTH-LIKE-FLOW.md

Yes, hopefully it will soon be rewritten and included in nip46 spec

Nice.

Given so many developments happening, I might wait a few weeks so maybe I'll find it the way I want it... and I'll look at Github issues and maybe open a couple of them so I can explain the way I see the UX to be.

Thanks for the great work!

Amazing, looking forward to your feedback!

Or you could implement the oauth flow yourself and avoid nostr-login altogether