mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🐛 Bug Report: /.well-known/openid-configuration endpoint has Content-Type as text/html #558
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 @suyash01 on GitHub (Dec 1, 2025).
Reproduction steps
Run curl command and observe the headers
curl -I https://<my-domain>/.well-known/openid-configurationExpected behavior
The
Content-Typeheader should betext/html.Actual Behavior
The
Content-Typeheader istext/html.Pocket ID Version
v1.16.0
Database
SQLite
OS and Environment
Debian GNU/Linux 13, Running on Proxmox LXC, Served via Nginx proxy manager.
Log Output
No response
@stonith404 commented on GitHub (Dec 2, 2025):
This happens because you use the
-iflag which makes aHEADinstead ofGETrequest to the endpoint. As aHEADrequest doesn't run the actual handler logic in the backend the header gets set incorrectly. If you make a normalGETrequest the content type should be correct.Do you actually encounter any issues or is this just something you've noticed?
@suyash01 commented on GitHub (Dec 2, 2025):
I was trying to integrate pocketid with pulse monitoring, but I am seeing the same error in pulse logs. Maybe they have not implemented it correctly?
I will try to dig deeper when I go home later today.
@suyash01 commented on GitHub (Dec 2, 2025):
Closing as after doing some digging I figured out that they just needed the base URL instead of the complete discovery URL.