🐛 Bug Report: OICD Client details don't include port #18

Closed
opened 2025-10-09 16:22:06 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Nedra1998 on GitHub.

Reproduction steps

I host pocket-id on a custom port (not 443). Using either docker port mappings to map to expose my custom port.

Expected behavior

I expect the Client details page to include the correct URL (including the port if applicable) so that I can copy and paste them into the corresponding fields of the client service. Using either the configured APP_URL or INTERNAL_APP_URL for the corresponding fields.

Actual Behavior

I host my instance at https://jupiter.lyra:9310, however that isn't reflected in the UI, it just shows the hostname.
Image

Looking at the code it seems to just be using the current url hostname: https://github.com/pocket-id/pocket-id/blob/main/frontend/src/routes/settings/admin/oidc-clients/%5Bid%5D/%2Bpage.svelte#L33-L38

Pocket ID Version

v1.11.2

Database

SQLite

OS and Environment

Docker on ArchLinux, served with Caddy on port 9310

Log Output

No response

Originally created by @Nedra1998 on GitHub. ### Reproduction steps I host pocket-id on a custom port (not 443). Using either docker port mappings to map to expose my custom port. ### Expected behavior I expect the Client details page to include the correct URL (including the port if applicable) so that I can copy and paste them into the corresponding fields of the client service. Using either the configured `APP_URL` or `INTERNAL_APP_URL` for the corresponding fields. ### Actual Behavior I host my instance at `https://jupiter.lyra:9310`, however that isn't reflected in the UI, it just shows the hostname. <img width="606" height="545" alt="Image" src="https://github.com/user-attachments/assets/6b6ee568-26c2-4a29-b3b3-cc6477bd1c22" /> Looking at the code it seems to just be using the current url hostname: https://github.com/pocket-id/pocket-id/blob/main/frontend/src/routes/settings/admin/oidc-clients/%5Bid%5D/%2Bpage.svelte#L33-L38 ### Pocket ID Version v1.11.2 ### Database SQLite ### OS and Environment Docker on ArchLinux, served with Caddy on port 9310 ### Log Output _No response_
Author
Owner

@stonith404 commented on GitHub:

Thanks for the report. This has been fixed in 2c1c67b5e4 and will be available in the next release.

@stonith404 commented on GitHub: Thanks for the report. This has been fixed in 2c1c67b5e403b365204854c5eb222a68236f3ce0 and will be available in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#18