Open chambersDon opened 3 years ago
Did you try to go through this working docker-compose - https://github.com/skoruba/IdentityServer4.Admin/blob/master/docker-compose.yml - I think this should work here correctly. Thanks and sorry for delay. 😎
I have tried that but couldn't get it to work. It requires editing the host files, and I have to push this out to 40+ developers who will not have access to edit that file. I can edit mine, and I did, but it still does not load the sites (i can ping them). I didn't troubleshoot, because manual host editing can't be my solution.
On Fri, Mar 5, 2021 at 2:33 AM Jan Å koruba notifications@github.com wrote:
Did you try to go through this working docker-compose - https://github.com/skoruba/IdentityServer4.Admin/blob/master/docker-compose.yml
- I think this should work here correctly. Thanks and sorry for delay. 😎
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/skoruba/IdentityServer4.Admin/issues/797#issuecomment-791219881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJXNDWTMQ4QNMFJ4XYSLYDTCCCMBANCNFSM4XRHLNVQ .
I am running my version of the code in docker (not a downloaded image) and can't seem set the IdentityServerBaseUrl value correct (in the admin project).
From outside of docker, the admin application is reachable at localhost:44303, and the STS projects reachable at localhost:44310.
The admin project throws an error accessing ".well-known/openid-configuration", because it does this in the container and localhost is not accessible. I change the IdentityServerBaseUrl to "https://stsidentity", where stsidentity is my service name in docker. This works fine pulling ".well-known/openid-configuration", but then it tries to do a browser redirect to the stsidentity domain. This fails, because stsidentity is defined outside of docker.
How can I setup this redirect?