Replies: 1 comment 2 replies
|
There is no separate identity table in Miniflux. OIDC accounts are matched to local users by username, so the linking you want is just: local user exists with exactly the same username as the OIDC claim, and Miniflux logs you into that account. Given the "This user already exists" error, I would check two things:
So the concrete path: keep the existing admin account, make sure its username matches what Authelia sends character for character, keep OAUTH2_USER_CREATION enabled for the other users, and log in through Authelia. The local password simply stops being relevant. If you would rather verify what is actually being matched before fiddling, bump Miniflux's log level to debug (DEBUG=1) and watch the OIDC block during a login attempt, it shows the profile fields it received. The database route is not needed here and would not even help, since there is no provider identity column to set. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I am currently trying to set up Miniflux with my installation of Authelia and I would like to only use OIDC/Authelia for managing users, so I don't have to keep separate login details or anything like that.
Thus, I disabled the login page for Miniflux.
The setup itself seems to have worked and I can login with a test user, but now I have an issue with the admin user.
I have one admin user in Authelia, which I would like to use as the admin user for the different services and as such, I enabled admin user creation in Miniflux.
But when I try to login with that user, I only get an error with "This user already exists.".
So I though I might disable the creation of the admin user, but then i'm not sure how I could create a user programmatically that is marked as admin and that can be authenticated using OIDC.
I also thought about directly executign queries in the database, but that seems very hacky.
Is there a way to do this? Can I somehow force the "linking" to the OIDC "identity"?
Thanks in advance!
All reactions