🐛 Bug Report: oCIS, invalid client secret (Mobile app) #195

Closed
opened 2025-10-07 00:05:34 +03:00 by OVERLORD · 0 comments
Owner

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 sqlite
docker 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

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 sqlite` `docker 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`
OVERLORD added the bug label 2025-10-07 00:05:34 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#195