mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: oCIS, invalid client secret (Mobile app) #195
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 @Fred-06 on GitHub.
Reproduction steps
I get the following error in the Pocket-ID logs when from Owncloud Android app I try to connect to my oCIS server.
Expected behavior
I was able to modify the “Client ID” and “Secret ID” values by following its instructions.
docker compose exec pocket-id apk add sqlitedocker compose exec pocket-id sqlite3 backend/data/pocket-id.db "UPDATE oidc_clients SET id='owncloud-client-id', secret='owncloud-client-secret-bcrypt-hashed' WHERE id='current-client-id';"Actual Behavior
The secret client doesn't seem to be the right one, or another configuration error is causing the problem.
Version and Environment
Latest
Log Output
pocket-id-1 | [GIN] 2025/05/29 - 15:48:54 | 400 | 1.20478ms | 178.19x.1xx.1xx | POST "/api/oidc/token" pocket-id-1 | Error #01: invalid client secret