mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-17 13:21:57 +01:00
[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:
parent
a3cd55fb33
commit
84c3d14afa
2
55.md
2
55.md
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user