diff options
| -rw-r--r-- | 97.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -18,7 +18,7 @@ This login URI can be presented as a clickable link, a QR code or a copyable str | |||
| 18 | 18 | ||
| 19 | A client that wishes to log in to a service SHOULD display the domain associated with the service to the end user before allowing them to log in to prevent services showing a login string for another service. | 19 | A client that wishes to log in to a service SHOULD display the domain associated with the service to the end user before allowing them to log in to prevent services showing a login string for another service. |
| 20 | 20 | ||
| 21 | After the user approves the login, the client should send a POST request to `/.well-known/nostr-login` to the `domain` with the `i` query parameter set to the `challenge` and a valid NIP-98 authentication header present. | 21 | After the user approves the login, the client should send a POST request to `/.well-known/nostr/nip97` to the `domain` with the `i` query parameter set to the `challenge` and a valid NIP-98 authentication header present. |
| 22 | 22 | ||
| 23 | The response MUST be a JSON object, with the format: | 23 | The response MUST be a JSON object, with the format: |
| 24 | ```json | 24 | ```json |