diff options
| author | Semisol <45574030+Semisol@users.noreply.github.com> | 2024-03-01 17:36:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-01 17:36:13 +0300 |
| commit | ac6909c062c0a550e41299421d73a2b0ba33111f (patch) | |
| tree | 5e2faccaa5f7dfc1b597b3f493c8c4077809a1e8 | |
| parent | 8416ed6f8cd1248c24e0f08f9c5ecade010b37c4 (diff) | |
switch NIP-97 URL to /.well-known/nostr/nip97
| -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 |