GithubHelp home page GithubHelp logo

Connection impossible about authelia HOT 5 CLOSED

Nicolas-mahe avatar Nicolas-mahe commented on May 25, 2024
Connection impossible

from authelia.

Comments (5)

glime-ai avatar glime-ai commented on May 25, 2024

Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it.


Based on the information provided, it seems like you are encountering an issue with Authelia where you are unable to log in, receiving a "username/password incorrect" message despite the logs not providing further insight into the issue. Given the detailed configuration and logs you've shared, there are a few potential areas to investigate:

  1. User Configuration and Password Hash: Ensure that the password hash in your user configuration matches the password you are attempting to use. The hash provided in your configuration corresponds to the password 'authelia' for the user 'authelia'. If you've changed the password but not updated the hash accordingly, this could be the cause of the issue.

  2. Database Connection: Since you mentioned the issue persists whether using file-based or SQL (MariaDB) storage for user passwords, ensure that Authelia can successfully connect to your MariaDB database. Any issues with database connectivity could prevent Authelia from verifying user credentials properly.

  3. Network Configuration: Your Docker Compose configuration shows multiple networks. Ensure that Authelia is able to communicate over the network with any other services it needs to interact with, such as your database or the reverse proxy.

  4. Reverse Proxy Configuration: Ensure that your SWAG reverse proxy is correctly configured to forward requests to Authelia and that there are no misconfigurations that could be causing issues with the authentication flow.

  5. Authelia Version: You mentioned upgrading to Authelia version 4.38.6. Ensure that there are no known issues with this version related to authentication. You can check the Authelia GitHub issues page for any reports that might match your situation.

  6. Session Cookie Configuration: The error log from Authelia mentioning "Target URL does not appear to have a relevant session cookies configuration" suggests there might be an issue with how session cookies are configured or handled. Ensure that your Authelia configuration correctly specifies the domain for session cookies, and it matches the domain you are accessing Authelia from.

Given the complexity of the issue and the number of components involved, it might also be helpful to enable more verbose logging for Authelia and review the logs for any additional clues as to what might be going wrong.

If after checking these areas the issue persists, consider reaching out to the Authelia community for further assistance, providing them with the details and findings from your investigation.

This comment was generated by Glime.

from authelia.

james-d-elliott avatar james-d-elliott commented on May 25, 2024

Can't do anything without the full configuration sorry.

from authelia.

Nicolas-mahe avatar Nicolas-mahe commented on May 25, 2024

there is it this
configuration-an.zip

from authelia.

james-d-elliott avatar james-d-elliott commented on May 25, 2024

Ah, see the required headers. The redaction made it a bit unclear but your proxy doesn't appear to be setting them.Since this is not a bug I will close this, but let me know if you want me to convert it to a discussion for support.

from authelia.

Nicolas-mahe avatar Nicolas-mahe commented on May 25, 2024

Yes please I need support on this subject :)

from authelia.

Related Issues (20)

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.