skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
549 stars 194 forks source link

Docker - What is the correct issuer url? #141

Open apetrut opened 1 year ago

apetrut commented 1 year ago

Hi @skoruba @albrookesplowman

When running an angular app we want to redirect the angular app to the login page of skoruba solution. We are using Docker and it fails

image

Can you confirm if sts.skoruba.local is the correct issuer url? We tried with admin.skoruba.local but we get CORS issue even if we setup the urls in the CORS section of Token tab.

image

albrookesplowman commented 1 year ago

@apetrut - this is exactly the configuration I am creating. I have small angular application with the Duende BFF backend working now so I will try creating it under docker and let you know

apetrut commented 1 year ago

@albrookesplowman I also got CORS issue even if I've added the localhost:4200 url in the Allowed ClientCorsOrigins table. How did you pass through CORS issue?

Is there any other setting that I can make in order to allow the angular app running on http://localhost:4200 to redirect to https://sts.dev-domain.com?