mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: URL constructor: (Komga calback) is not a valid URL #254
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vicerious001 on GitHub.
Reproduction steps
Expected behavior
Sign in should complete, pop up close, and Komga should be logged in
Actual Behavior
The pop seems to hang, never completing. The "Sign In" button is grey and its spinner just keeps going.
Version and Environment
Browser: Firefox 137.0.2
Docker-installed Pocket ID version 0.47.0
Docker-installed Komga version 1.21.2
HAProxy as reverse-proxy
Pocket ID Compose.yml
Pocket ID .env
Komga Compose.yml
Komga Config
HAProxy Config pieces
Log Output
The browser console outputs this in the Pocket ID pop up window:
No errors are logged server-side in either Pocket ID or Komga containers.
@stonith404 commented on GitHub:
@vicerious001 Can you share the exact callback URL you've entered in the Pocket ID OIDC client settings?
@vicerious001 commented on GitHub:
I use Authentik with Komga in production and it's been working just fine for a few years now. This is a dev environment where I'm trying out Pocket ID.
@kmendell commented on GitHub:
This seems like a configuration issue, Does this work with other OIDC Providers?
@vicerious001 commented on GitHub:
@kmendell commented on GitHub:
I wonder if its due to the .internal TLD?
@kmendell commented on GitHub:
Are you using a .internal TLS? if not then this potentially could be a issue with Komga as well.
@skyzuma commented on GitHub:
idk about github ... i only read ... sry ... maybe an other can create a pr ... it worked yes (on web) ... behind npm and local pihole domain but komga give error in log but it will login with pocket-id
maybe a recheck is needed ...
@vicerious001 commented on GitHub:
If it is, that would be a bug -
.internalis an officially-recognized TLD reserved for private use.@skyzuma commented on GitHub:
worked like a charm .... maybe this can be add to the docu on https://pocket-id.org/docs/client-examples
@kmendell commented on GitHub:
You got this working with the client?
And we can add it sure, feel free to open a PR to add it on the webiste.
@skyzuma commented on GitHub:
no, i use ".de" on npm with lets encrypt certs ...
@stonith404 commented on GitHub:
I'm closing this because this is definitely not a issue of Pocket ID, but feel free to still comment if you can't find a solution.
@stonith404 commented on GitHub:
@vicerious001 Your client (Komga) is sending
: https://comics.deb.internal/login/oauth2/code/pocketidas a callback URL. I have no experience with Komga but you somehow have to configure that it sends the URL without:in front.