Code Monkey home page Code Monkey logo

kibana-oauth2-proxy's Introduction

Kibana Oauth2.0 proxy config

Docker configuration for using oauth2_proxy as Oauth2.0 proxy for Kibana 6.1.1 using either :

oauth2

Edit searchguard/docker-compose.yml or xpack/docker-compose.yml with correct oauth config (container oauth2-proxy) :

- GITHUB_ORG=<Your Org>
- GITHUB_TEAM=<Your Team>
- CLIENT_ID=<Your Github Client ID>
- CLIENT_SECRET=<Your Github Client Secret>

The sample configuration here uses Github authentication for a single Team inside an organization, You can use any supported Oauth provider available here. You will need to update oauth-proxy/start.sh with the correct variables if they are not already there

SearchGuard

cd searchguard
docker-compose up

Then go to http://locahost:4180

X-Pack

Complete tutorial for xpack can be found here

cd xpack
docker-compose up

Then go to http://locahost:4180

Note for searchguard

The searchguard/docker-compose.yml uses two custom images with built-in proxy configuration :

For already existing configuration, check Using Kibana with proxy authentication

Using a base path

Only when using Search Guard config, if you want to use a base path, for instance "/kibana" :

nginx-proxy:
  environment:
    - BASE_PATH=/kibana/

and

kibana:
  environment:
    SERVER_BASE_PATH: "/kibana"

and

oauth2-proxy:
  environment:
    - UPSTREAM=http://nginx-proxy:8080/kibana/

After composing up, go to http://localhost:4180/kibana

You can find a sample config here

License

The MIT License (MIT) Copyright (c) 2017-2018 Bertrand Martel

kibana-oauth2-proxy's People

Contributors

bertrandmartel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

borism

kibana-oauth2-proxy's Issues

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.