[NIP-55] Add a warning message when using web intents (#1457)

Co-authored-by: dluvian <133484344+dluvian@users.noreply.github.com>
This commit is contained in:
greenart7c3 2025-02-28 20:55:35 -03:00 committed by GitHub
parent a3cd55fb33
commit 84c3d14afa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
55.md
View File

@ -484,6 +484,8 @@ If the user chose to always reject the event, signer application will return the
# Usage for Web Applications # Usage for Web Applications
You should consider using [NIP-46: Nostr Connect](46.md) for a better experience for web applications. When using this approach, the web app can't call the signer in the 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. 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. If you send the callback url parameter, Signer Application will send the result to the url.