Oddbean new post about | logout
 If you're seeing this on your profile for nip05 verification in nostrudel ...
https://i.nostr.build/bdCgdcYd8xSLG15d.png then you may need to set this header for that resource 
      access-control-allow-origin: *

Also, make sure your json for /.well-known/nostr.json is actually well formed. 
 CORS is a pain for nip-05 on Web clients.  
 Can I add another common issue? Redirects break nip-05 and it's quite common to redirect to www. nostr.json should be excluded from the redirect  
 yes. redirects are explicitly called out as a nogo in the nip 
 Unlucky for all the nostrverified.com plebs...  
 Yep, I see this a lot 
 I know why it’s necessary but I hate CORS so much lol

It’s such an easy fix but as a backend engineer it’s the thing I always the thing I totally forget about and bites me unexpectedly.  
 your nip05 fails validation because your json is not well formed.  Add commas between fields.

{
"names": {
    "moizen": "dbc828cc8b33efa73a60ce27bfcf6e039fd602af289f7deb717d766aed78a663",
    "moiz_caminero": "dbc828ad90e9f0ebe417b0245d0865b232b3c8e46f5ec4ec7dbd30f6f532d1b0"
  }
} 
 Thank you! I just stumbled on to this note; I missed its notification.  
 Sounds like you want a lightning address. Nip05 is different and used to verify your nostr username, not for lightning payments.  
 Nope I want to be able to receive monero directly from cakewallet by nip-05 but it gives me this error of this json file not being able to find the relays.
nostr:nevent1qqs00kwl06c0tzwt2lzag9vahf2kcackuhzan7qarzp3x574cj9vnkqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyr22uhn5klxxelpljq6jmzvkc3pgydhpk9kz4y478px4e80dxc8myqcyqqqqqqgyfrfcj 
 do you have relays defined like this?

{
  "names": {
    "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
  },
  "relays": {
    "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ]
  }
} 
 Idk how to do this I just add the relays on the clients  
 Nope I want to be able to receive monero directly from cakewallet by nip-05 but it gives me this error of this json file not being able to find the relays.
nostr:nevent1qqs00kwl06c0tzwt2lzag9vahf2kcackuhzan7qarzp3x574cj9vnkqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyr22uhn5klxxelpljq6jmzvkc3pgydhpk9kz4y478px4e80dxc8myqcyqqqqqqgyfrfcj 
 do you have relays defined like this?

{
  "names": {
    "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
  },
  "relays": {
    "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ]
  }
} 
 Idk how to do this I just add the relays on the clients  
 Thank you! I just stumbled on to this note; I missed its notification.