From ac6909c062c0a550e41299421d73a2b0ba33111f Mon Sep 17 00:00:00 2001 From: Semisol <45574030+Semisol@users.noreply.github.com> Date: Fri, 1 Mar 2024 17:36:13 +0300 Subject: [PATCH] switch NIP-97 URL to /.well-known/nostr/nip97 --- 97.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/97.md b/97.md index 6de3f77e..f268b997 100644 --- a/97.md +++ b/97.md @@ -18,7 +18,7 @@ This login URI can be presented as a clickable link, a QR code or a copyable str 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. -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. +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. The response MUST be a JSON object, with the format: ```json