mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Add a warning message when using web intents
This commit is contained in:
parent
6cd598d02c
commit
acd689a18f
2
55.md
2
55.md
|
@ -442,6 +442,8 @@ If the user chose to always reject the event, signer application will return the
|
|||
|
||||
# Usage for Web Applications
|
||||
|
||||
You should consider using [NIP-46: Nostr Connect](46.md), [Nostr login](https://github.com/nostrband/nostr-login) or (window.nostr.js)[https://github.com/fiatjaf/window.nostr.js] for a better experience for web applications. When using this approach the web app can't call the signer in background so the user will see a popup for every event you try to sign.
|
||||
|
||||
Since web applications can't receive a result from the intent, you should add a modal to paste the signature or the event json or create a callback url.
|
||||
|
||||
If you send the callback url parameter, Signer Application will send the result to the url.
|
||||
|
|
Loading…
Reference in New Issue
Block a user