“.well-known” and upload app associated JSON files

HI Team,

Our website is developed using webflow https://prospectorpro.ai/ and we have another portal with subdomain network.prospectorpro.ai. We need to integrate Microsoft SSO for this portal. To integrate SSO, need to deploy a json file which returns a application ID to verify the domain, inside the prospectorpro.ai project folder within the path .well-known/microsoft-identity-association.json. Since the prospectorpro.ai is developed using webflow, we dont have direct access to deploy the json file directly. we have tried followed the below steps and unfortunately, we couldnt achieve the expected output.

  1. tried to define a route .well-known/microsoft-identity-association.json and redirect to our subdomain where we can return the json. Since the route has dot in the url, its not achievable in webflow.
  2. Prospector Pro DNS are hosted using cloudfare. defined a reverse proxy using workers in cloudfare and it gives invalid .well-known request when i tried to access the https://www.prospectorpro.ai/.well-known/microsoft-identity-association.json

Can someone help to solve this issue?

I typically use a reverse proxy setup for .well-known files as well.
Right now your requests are not being intercepted by cloudflare which likely means that either;

  • You don’t correctly have the site or cloudflare setup to proxy it. Typically this means disabling SSL in the Webflow site, setting CF’s SSL to full, and enabling proxying on the Webflow A and CNAME records in CF’s DNS.
  • You don’t have your worker routes setup properly for the paths you want the worker to run on.