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

I have the below setup

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

DNS
-Local/dev
--www.example.local
--api.example.local
--identity.example.local
-Production
--www.example.com
--api.example.com
--identity.example.com

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.

  • Nginx, WordPress, and SQL
  • Cannot get postgresql-9.3-postgis-2.1 on Ubuntu 14.04.1 Docker container
  • docker run image causes syntax error /bin/sh
  • the approach to restore a pre-configured docker image
  • Can i run Internet Explorer inside a Windows Server Container?
  • Docker push on OS/X very slow - and seems to push layers that have already been pushed
  • 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.

  • Docker 1.9.0 “bridge” versus a custom bridge network results in difference in hosts file and SSH_CLIENT env variable
  • Running cucumber without starting starting rails for remote website testing
  • Jenkins With Nginx Reverse Proxy And Resolver
  • unable to find the /etc/default/docker with latest docker 17.03.0-ce
  • Android CI using Bitbucket Pipelines and Docker
  • Deploying docker-compose as yml in order to be able to scale using the same port
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.