Giter Club home page Giter Club logo

nginx-plus-oidc's Introduction

nginx-plus-oidc

Deploy NGINX Plus proxy with Keycloak Single Sign-on

Instructions:

  1. Deploy the following configuration files in your project, modify if required: $ service.yaml; nginx-plus-sa.yaml; nginx-cm.yaml;
  2. If you are using DNS server other than 8.8.8.8 look in oidc-conf-cm.yaml for 'resolver' and modify to correct DNS server. Deploy 'oidc-conf-cm.yaml' to your cluster
  3. Configure frontend-cm.yaml. This configmap holds frontend.conf which holds the OIDC configuration for SSO and your backend application route. a. Edit your backend service address b. Edit your OIDC configurations c. Configure the headers to proxy to the backend application by changing 'proxy_set_header' accordingly Deploy 'frontend-cm.yaml' to your cluster
  4. Edit 'deployment.yaml' with accessible and licensed NGINX Plus Image and deploy to your cluster
  5. Expose NGINX Plus service using your prefered Ingress
  6. Include new NGINX public URL in your Keycloak client settings 'Valid Redirect URLs' Format: http://my-nginx.example.com:8010/_codexch Notes:
    • For production, we strongly recommend that you use SSL/TLS (port 443).
    • The port number is mandatory even when you’re using the default port for HTTP (80) or HTTPS (443).
  7. Test access to your application

nginx-plus-oidc's People

Contributors

igorkchyts avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.