Coder Social home page Coder Social logo

dmclf / traefik-forwardauth-azuread Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vitaliy-leschenko/traefik-forwardauth-azuread

0.0 0.0 0.0 14 KB

Traefik Middleware for Auth in Azure Active Directory

License: Apache License 2.0

Shell 0.36% C# 86.75% Dockerfile 12.88%

traefik-forwardauth-azuread's Introduction

What is it?

This is demo how to use forwardauth middleware of traefik. You can find more details about it on official traefik docs

How to use it (in k8s)?

  1. register an app in Azure Active Directory to obtain ClientId, ClientSecret, TenantId
  2. build docker image src/TraefikAuthAAD/Dockerfile and publish it to a registry
  3. create a deploy and make sure that you override these environment variables:
  1. create a service for the deploy
  2. create a traefik middleware object:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: auth
spec:
  forwardAuth:
    address: http://{service name or ip}/auth
    trustForwardHeader: true  
  1. use the middleware in your ingress objects

traefik-forwardauth-azuread's People

Contributors

vleschenko-printique avatar vitaliy-leschenko 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.