Giter VIP home page Giter VIP logo

authelia-basic-2fa's People

Contributors

dependabot[bot] avatar virb3 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

authelia-basic-2fa's Issues

Example configuration for Traefik v2

Could you please add a example configuration for it?

What's the proper way to use it in Traefik v2?

The logs show this:

{"level":"error","ts":1612719909.455098,"caller":"src/main.go:42","msg":"User 172.20.0.1 not authenticated","stacktrace":"main.handleAuthentication\n\t/src/main.go:42\ngithub.com/labstack/echo/v4.(*Echo).add.func1\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:522\ngithub.com/labstack/echo/v4.(*Echo).ServeHTTP\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:633\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2843\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1925"}
{"level":"error","ts":1612719909.455329,"caller":"src/main.go:43","msg":"unrecognized auth header format","stacktrace":"main.handleAuthentication\n\t/src/main.go:43\ngithub.com/labstack/echo/v4.(*Echo).add.func1\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:522\ngithub.com/labstack/echo/v4.(*Echo).ServeHTTP\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:633\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2843\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1925"}
[http.middlewares]
  [http.middlewares.authelia-basic.forwardAuth]
    address = "http://authelia-basic:8081"
    trustForwardHeader = true
    authResponseHeaders = ["Remote-User", "Remote-Groups"]

Nothing gets passed to authelia-basic-2fa

Using the setup provided it seems no traffic gets passed to authelia-basic-2fa. When using the configuration provided, the only requests to get passed to a-b-2fa are requests to /auth but the only requests to actually arrive to nginx are GET requests for the /api/verify location, which then get passed directly to authelia making it as if a-b-2fa wasn't even there. Attempting to pass the /api location to a-b-2fa only results in "unrecognized auth header format" errors.

Is there something about the configuration that I'm missing? I'm using authelia-basic-2fa_2.0.13 and authelia v4.22.0 on Debian Buster (no docker involved).

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.