mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🐛 Bug Report: Logins fail after upgrading pocket id #244
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 @j-baker on GitHub.
Reproduction steps
Reproduction steps: integrate latest main branch pocket-id and latest immich. Observe logins fail.
Disclaimer: I updated pocket-id and the app I was using that uses pocket-id. However I'm pretty sure that the bug is in pocket-id.
I use an app called Immich. This integrates with pocket-id for login. I recently found I can't log in. What I'm observing is a failed login, and in the pocket-id logs, I observe:
When I MITM the connection between Immich and pocket-id, what I observe is that immich successfully hits
/api/oidc/tokenand is given anaccess_token, anid_tokenand arefresh_token. It then tries to hit theoidc/userinfoendpoint with theaccess_token. This then fails because it's not a JWT, and the login fails.Expected behavior
Login succeeds. The userinfo endpoint should work with the accesstoken that was generated, most likely?
Actual Behavior
HTTP 500.
Version and Environment
4c33793678Log Output
No response