0

Please or Register to create posts and topics.

Help deploying to Azure

I'm hoping someone can help me here.  I have quickapp up and running locally without issue, but am unable to get it deployed working in Azure.  

my .net core api is deployed to azure seperately from the client app, which is also in azure. I can hit https://[base-server-url]/.well-known/openid-configuration and see the response from oauth. I can authenticate to my app the first time to login, but then if I click on any url in my app that hit the api to load data, subssequent authentication fails.

appsettings.Production.json
"ApplicationUrl": "https://api.mydomain.com",
"https_port": "443",
"DefaultUserRole": "Owner",'

web.config
<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="44350" /> (i don't believe that this matters?)
<environmentVariable name="COMPLUS_ForceENC" value="1" />
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production" />

Environment.ts
export const environment = {
production: false,
baseUrl: "https://api.mydomain.com", // Change this to the address of your backend API if different from frontend address
tokenUrl: null, // For IdentityServer/Authorization Server API. You can set to null if same as baseUrl
loginUrl: '/login',
googleClientId: '',
facebookClientId: ''