I'm using MERN STACK. I've been stuck on this forever now, I've been trying to verify my publisher domain on Azure portal but it keeps telling me that it has invalid header content type, I just downloaded the JSON file they provided and pasted it into the public/.well-known folder in my react app, deployed it to server and then opened it in the browser, it's opening but it's showing an html file to me instead of JSON. I'm new to this and have no idea what to do, I didn't find anything close to a solution on the web.
JSON FILE
{
"associatedApplications": [
{
"applicationId": "my application id"
}
]
}
BROWSER RESULT
Now, it's showing me an html file instead of a JSON object
EXACT RESPONSE FROM AZURE
Verification of publisher domain failed. Error getting JSON file from https://example.com/.well-known/microsoft-identity-association. The server returned an unexpected content type header value