Skip to content

Can't login via OIDC with Authentik #618

Description

@Volterxien

Hi,

I've been unable to login with Authentik using native OIDC. Aurral correctly adds a new user and assigns them roles correctly based on group claims (though the username claim seems to be not working correctly -- it only ever uses the email even when I set the username claim to username).
After creating a user, it just sends me back to the login screen.

Additionally, it seems the AUTH_PROXY_ENABLED setting gets set to true somewhere because if I simply remove it or set it to false and I leave the AUTH_PROXY_HEADER value set, I can still log in via header. This is true if I remove TRUST_PROXY as well.

Edit: This line appears in the logs, even with AUTH_PROXY_ENABLED=false:

[warn] [system] AUTH_PROXY_ENABLED is on but AUTH_PROXY_TRUSTED_IPS is not set - any client that can reach this server directly can impersonate any user via the proxy identity header. Set AUTH_PROXY_TRUSTED_IPS to your reverse proxy's address to restrict this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.releasedIncluded in a stable release.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions