-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Authelia OIDC - Callback Error 500 #2412
Comments
Adding a +1 here, I'm running into the exact same issue. I have Authelia + ABS running in Docker on an unRaid server behind a reverse proxy (Nginx Proxy Manager). My Authelia config is near-enough the same as above and my reverse proxy is only upgrading http->https. Am I missing some necessary proxying configurations or headers? Is there a way to get the actual JSON string that seems to be malformed? ABS Version: 2.6.0 |
Given that it worked for others in Authelia I suspect some kind of configuration error. Do you have any errors in the logs of authelia itself? It could be that instead of a JSON it returns some kind of error text.
Its a bit difficult, its possible by modifying the source code of ABS. It would be probably easier if you find a config with your reverse proxy which can do that. |
I think you're right. Do you know of a working example Authelia config I can compare mine against? I'll post my error logs below ABS:
NginxProxyManager:
Authelia:
The only thing that stands out is NPM complaining about using an uninitialised 'test' variable. Do you have an idea where I should look? |
@yassiezar remove the line It's failing because it's tryting to parse json response from authelia in this line https://github.com/panva/node-openid-client/blob/main/lib/client.js#L1291 but with In the example configuration https://github.com/adepssimius/audiobookshelf-web/blob/master/content/guides/11.sso_configuration.md#authelia there is no value specified for Hope it helps 😄 |
@prof729 That worked for me as well, thanks! |
Describe the issue
I'm seeing behavior similar to issue 2370 in that my config is almost the same within Authelia and my network is failing on the callback.
However, I'm not getting a password error but instead the following:
Authelia:
ABS is configured as per the docs.
Steps to reproduce the issue
Audiobookshelf version
v2.6.0
How are you running audiobookshelf?
Docker
The text was updated successfully, but these errors were encountered: