Skip to content

[Bug] OIDC login auth always logs in admin user #7254

@jasonajack

Description

@jasonajack

Describe the bug

I have configured Authelia IdP for FreshRSS and configured it exactly as defined in the guide (link goes to Authelia's FreshRSS guide). I've also compared it to the FreshRSS OIDC authentication guide. I have one admin user and one test user defined (belonging to IdP groups admin and users respectively).

Whenever I go to my FreshRSS server it successfully redirects me to Authelia. When I enter my credentials for the "test" user however, it instead logs me in as my Admin user. As an experiment I've tried adding other users and logging in with those but it always authenticates as the Admin user regardless.

To Reproduce

  1. Go to freshrss.
  2. Enter my user credentials
  3. Always logs in as my Admin user no matter what credentials are sent by Authelia back to FreshRSS

Expected behavior

FreshRSS either creates a new user and logs me in or it rejects me because the user is not known to FreshRSS. Preferably the former, but even the latter is better than always logging in as Admin no matter what credentials are used.

FreshRSS version

1.25.0

System information

  • Database version: SQLite
  • PHP version: Unknown
  • Installation type: Docker (docker.io/freshrss/freshrss:1.25.0)
    -Web server type: Unknown
  • Device: PC
  • OS: Win11
  • Browser: Firefox

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions