is there a uri scheme or something that apps should be using to "trigger" the device's signer? i think this is a great feature, but in reality a lot of people are just trying to use another nostr app on the same device so the qr scanner and even the keyboard option feel a bit clunky and not the best ux flow for such a scenario
Login to reply
Replies (1)
Yes, you can easily trigger the signer by using the standard nostrconnect:// uri scheme. That's what a "Login with Nostr" button should do.
We even added support for a convenient "callback" parameter, so Primal will redirect back to your app immediately after establishing the remote connection. If it's a browser app, simply use callback=https://[your_app_login_progress_page] to get redirected back to your app.
@Derek Ross implemented this flow for some of his web apps; it works great. Derek, maybe you could share a quick video of this in action?