I have a Blazor app with Microsoft identity running on Windows IIS server.
The app runs for a while and then produces "Uncaught (in promise) SyntaxError: Unexpected token '<', "<html><hea"... is not valid JSON" after which blazor functions stop working.
During further analysis, I found Initializers in Netowrk produced 200 status but the response was The requested URL was rejected. Please consult with your administrator.
Please let me know if I am missing anything.
Thank you!
I have added /_blazor/* to be whitelisted.