You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen a "bug" on mealie using OAuth (via Authentik). When OIDC_AUTO_REDIRECT is set to true and the login is invalid, I am redirected back to mealie login page but as OIDC_AUTO_REDIRECT is selected it tries again to connect and again and again.
I've seen that it is a login issue on logs, "username or password incorrect" (I might have a look on why it is incorrect). I think if the login is incorrect, it might disable temporaly auto redirect.
Steps to Reproduce
Enable OIDC with OIDC_SIGNUP_ENABLED set to true
Try to login with an non-existant login in mealie (with OIDC_SIGNUP_ENABLED set to false)
Please provide relevant logs
mealie | ERROR: 31-Mar-24 23:01:13 Incorrect username or password from xx
mealie | ERROR: 31-Mar-24 23:01:14 Incorrect username or password from xx
mealie | INFO: 172.20.0.2:38972 - "POST /api/auth/token HTTP/1.1" 401 Unauthorized
mealie | INFO: 172.20.0.2:38972 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:38972 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:38972 - "GET /sw.js HTTP/1.1" 304 Not Modified
mealie | INFO: 127.0.0.1:51656 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | ERROR: 31-Mar-24 23:02:04 Incorrect username or password from xx
mealie | INFO: 172.20.0.2:39216 - "POST /api/auth/token HTTP/1.1" 401 Unauthorized
mealie | INFO: 172.20.0.2:39216 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:39216 - "GET /api/app/about HTTP/1.1" 200 OK
Mealie Version
nightly
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered:
Plus, it seems like it "unadmin"ed me (once logged with correct credidentials). I can't check the server settings as if I was a normal user. How can I get it back ?
Plus, it seems like it "unadmin"ed me (once logged with correct credidentials). I can't check the server settings as if I was a normal user. How can I get it back ?
Thank you
If you want to be an admin, you'll need to set an environment variable which is explained here
Plus, it seems like it "unadmin"ed me (once logged with correct credidentials). I can't check the server settings as if I was a normal user. How can I get it back ?
Thank you
If you want to be an admin, you'll need to set an environment variable which is explained here
First Check
What is the issue you are experiencing?
Hi,
I've seen a "bug" on mealie using OAuth (via Authentik). When OIDC_AUTO_REDIRECT is set to true and the login is invalid, I am redirected back to mealie login page but as OIDC_AUTO_REDIRECT is selected it tries again to connect and again and again.
I've seen that it is a login issue on logs, "username or password incorrect" (I might have a look on why it is incorrect). I think if the login is incorrect, it might disable temporaly auto redirect.
Steps to Reproduce
Please provide relevant logs
mealie | ERROR: 31-Mar-24 23:01:13 Incorrect username or password from xx
mealie | ERROR: 31-Mar-24 23:01:14 Incorrect username or password from xx
mealie | INFO: 172.20.0.2:38972 - "POST /api/auth/token HTTP/1.1" 401 Unauthorized
mealie | INFO: 172.20.0.2:38972 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:38972 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:38972 - "GET /sw.js HTTP/1.1" 304 Not Modified
mealie | INFO: 127.0.0.1:51656 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | ERROR: 31-Mar-24 23:02:04 Incorrect username or password from xx
mealie | INFO: 172.20.0.2:39216 - "POST /api/auth/token HTTP/1.1" 401 Unauthorized
mealie | INFO: 172.20.0.2:39216 - "GET /api/app/about HTTP/1.1" 200 OK
mealie | INFO: 172.20.0.2:39216 - "GET /api/app/about HTTP/1.1" 200 OK
Mealie Version
nightly
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: