mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
switch NIP-97 URL to /.well-known/nostr/nip97
This commit is contained in:
parent
8416ed6f8c
commit
ac6909c062
2
97.md
2
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.
|
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:
|
The response MUST be a JSON object, with the format:
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user