Securing services within Docker container Using Identity Providers hosted within a container

I have the below setup

 |_Identity_Provider /.well-known/openid-configuration
 |_Web_Application (REACT/REDUX)


If I configure the API to use the internal hostname of the identity server “Identity_Provider” when the api queries the openId connect .well-known endpoint it uses http://Identity_Provider as the issuer but the React uses its “www.example.XXX” DNS name as the issuer.

  • Send sms using kannel & smmpsim
  • Why when I switch to a different user environment variable is lost?
  • How to convert a VS Code launch.json to a Visual Studio launchSettings.json for .Net Core Web Application
  • How do I run yesod init from a docker container?
  • Why can't I run a simple ping from the IBM Liberty Docker image
  • Elastic search not working as expected
  • Problem I am having is that when the api tries to authenticate the web application REST request it uses a different internal .well-known issuer name which is different in each environment. but because I do now know in advanced the internal IP address of the identity provider service I’m unable to configure the api to use the correct dns entry to retrieve openid connect authentication configuration.

  • Adding tags to docker image from jenkins
  • Spring-boot application wont boot at startup inside docker
  • Gitlab, docker and sendmail ports
  • Docker API: cpu_stats vs percpu_stats
  • Datastore for scope “global” is not initialized
  • Docker mysql mounted logs directory always empty
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.