Skip to content
  1. Sep 09, 2017
    • Eric Chiang's avatar
      *: add an OpenID Connect provider · cb48577e
      Eric Chiang authored
      See the README for usage with Dex or any other OIDC provider.
      
      To test run a backend:
      
          python3 -m http.server
      
      Run dex and modify the example config with the proxy callback:
      
          go get github.com/coreos/dex/cmd/dex
          cd $GOPATH/src/github.com/coreos/dex
          sed -i.bak \
            's|http://127.0.0.1:5555/callback|http://127.0.0.1:5555/oauth2/callback|g' \
             examples/config-dev.yaml
          make
          ./bin/dex serve examples/config-dev.yaml
      
      Then run the oauth2_proxy
      
          oauth2_proxy \
            --oidc-issuer-url http://127.0.0.1:5556/dex \
            --upstream http://localhost:8000 \
            --client-id example-app \
            --client-secret ZXhhbXBsZS1hcHAtc2VjcmV0 \
            --cookie-secret foo \
            --email-domain '*' \
            --http-address http://127.0.0.1:5555 \
            --redirect-url http://127.0.0.1:5555/oauth2/callback \
            --cookie-secure=false
      
      Login with the username/password "admin@example.com:password"
      cb48577e
  2. Apr 25, 2017
  3. Apr 21, 2017
  4. Apr 07, 2017
  5. Apr 03, 2017
  6. Mar 30, 2017
  7. Mar 29, 2017
  8. Mar 28, 2017
  9. Mar 23, 2017
  10. Mar 22, 2017