[Bug]: OIDC with Authentik not working any more #1898

Closed
opened 2026-04-25 00:01:06 +02:00 by adam · 2 comments
Owner

Originally created by @KoMa1012 on GitHub (Apr 19, 2024).

Describe the issue

Authentik used to work with my audiobookshelf, today I tried to log in again (since quite a long wile) but it didn't work.
What I found out so far:
-Login doesn't work
-Auto Populate OIDC setting (when setting up OIDC) also doesn't work

in the OIDC Provider I double checked that I selected the "authentik Self-signed Certificate" where the content of the pub file starts with "ssh-rsa AAAA...." and the private key starts with "-----BEGIN RSA PRIVATE KEY-----".

Steps to reproduce the issue

Flow for Login:

  1. go to audiobookshelf.domain.tld
  2. log in via Authentik
  3. falls back to login website of authintik with red "Error in callback" message betwen Login and Username
  4. creates log entry: ERROR: [Auth] Error in openid callback - Error: getaddrinfo EAI_AGAIN auth.domain.tld

Flow for to Auto Populate OIDC setting

  1. Log in as super user (username/pw)
  2. go to setting Authentication
  3. fill in "Issuer URL"
  4. Leads to log entry "ERROR: [Auth] Failed to get openid configuration at "https://auth.domain.tld/application/o/audiobookshelf/.well-known/openid-configuration" Error: getaddrinfo EAI_AGAIN auth.happyheppos.eu"

Audiobookshelf version

2.8.1

How are you running audiobookshelf?

Docker

Originally created by @KoMa1012 on GitHub (Apr 19, 2024). ### Describe the issue Authentik used to work with my audiobookshelf, today I tried to log in again (since quite a long wile) but it didn't work. What I found out so far: -Login doesn't work -Auto Populate OIDC setting (when setting up OIDC) also doesn't work in the OIDC Provider I double checked that I selected the "authentik Self-signed Certificate" where the content of the pub file starts with "ssh-rsa AAAA...." and the private key starts with "-----BEGIN RSA PRIVATE KEY-----". ### Steps to reproduce the issue Flow for Login: 1. go to audiobookshelf.domain.tld 2. log in via Authentik 3. falls back to login website of authintik with red "Error in callback" message betwen Login and Username 4. creates log entry: ERROR: [Auth] Error in openid callback - Error: getaddrinfo EAI_AGAIN auth.domain.tld Flow for to Auto Populate OIDC setting 1. Log in as super user (username/pw) 5. go to setting Authentication 6. fill in "Issuer URL" 7. Leads to log entry "ERROR: [Auth] Failed to get openid configuration at "https://auth.domain.tld/application/o/audiobookshelf/.well-known/openid-configuration" Error: getaddrinfo EAI_AGAIN auth.happyheppos.eu" ### Audiobookshelf version 2.8.1 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-25 00:01:06 +02:00
adam closed this issue 2026-04-25 00:01:06 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 19, 2024):

EAI_AGAIN is typically a DNS issue and not related to Abs. Is there anything you can narrow down to point to this being a bug with Abs?

@advplyr commented on GitHub (Apr 19, 2024): EAI_AGAIN is typically a DNS issue and not related to Abs. Is there anything you can narrow down to point to this being a bug with Abs?
Author
Owner

@KoMa1012 commented on GitHub (Apr 20, 2024):

yep, I changed my DNS Server and obviously the container didn't notice the change without the host restarting. Fixed

@KoMa1012 commented on GitHub (Apr 20, 2024): yep, I changed my DNS Server and obviously the container didn't notice the change without the host restarting. Fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1898