App initiates flow is bad, app can't know which relay to use and will pick a random one which won't work bcs of rate limits etc. And the copy url flow is not ideal UX, Pablo is working on oauth like flow, so that will improve. For now a bunker:// url support would be great for starters

Replies (2)

cool, is there any docs on how bunker:// url works. I noticed login.nostrapps.org gives a URI with a relay and nsecbunker gives a URI with a hex code hash
I guess bunker://pubkey-in-bunker?relay=x was the original url Pablo came up with, but then he simplified it to just npub of pubkey in bunker (assuming app connects to his relay). And then Pablo invented a token that is nsecbunker specific thing, a pre-approved set of permissions. I would say you could go with bunker:// url, while we figure out a better oauth like ux.