Azure App server orchestrator swagger authenticate

Unable to authenticate Swagger API while login with orchestrator in same browser

Solution



Edit the web.config of the Orchestrator appservice and inside the Rewrite under outbound rules add a new rule and replace the IDENTITYURL with the root of the identityservice url

example



https://orchdhanidentity2022.azurewebsites.net;connect-src]https://orchdhanidentity2022.azurewebsites.net;connect-src 'self' [https://orchdhanidentity2022.azurewebsites.net;script-src]https://orchdhanidentity2022.azurewebsites.net;script-src 'self' 'unsafe-inline' [https://orchdhanidentity2022.azurewebsites.net;style-src]https://orchdhanidentity2022.azurewebsites.net;style-src 'self' 'unsafe-inline';img-src 'self' data:;font-src 'self'" />