Http post for login blocked with CORS

First of all, I want to thank all you for the help, second I finally managed to make it work :grinning: but using the Azure Portal (there“s a section for CORS management that I did not know:


)

IĀ“ve taken that image just in case someone gets to the same ā€˜trouble’.

Doing what SDP1966 posted about inserting the <allow-navigation… > to index.html was returning the error: The Content Security Policy ā€˜default-src ā€˜self’ http:’ was delivered via a element outside the document’s , which is disallowed. The policy has been ignored. I did then double check I had inserted that in the head section… and I did so I donĀ“t know why itĀ“s getting this error…

Doing what Kuntal posted didn“t seem to work either (didn“t debug so I“m not sure).

It seems that my issue was with Azure after all… and IĀ“m not too sure how CORS works on Azure so another thing I will have to investigate :sleeping:

1 Like