Hi,
I’m trying to configure the Google Cloud Storage plugin in Orthanc using a user account (OAuth 2.0 credentials) instead of a service account. However, the plugin fails to validate credentials and crashes Orthanc.
Setup:
- Orthanc Image:
orthancteam/orthanc:25.2.0-full
- Authentication method: User Account with Client ID, Client Secret, and Refresh Token
- Environment variables used in
docker-compose.yaml
:
ORTHANC__GOOGLE_CLOUD_STORAGE__ENABLE: "true"
ORTHANC__GOOGLE_CLOUD_STORAGE__BUCKET_NAME: "xxxx-bucket-xxxx"
ORTHANC__GOOGLE_CLOUD_STORAGE__ROOTPATH: "dcm-hot-storage"
ORTHANC__GOOGLE_CLOUD_STORAGE__AUTHORIZED_USER_CLIENT_ID: "7xxxx05xxx0-6xxxxxxx8exxxxx1hur.apps.googleusercontent.com"
ORTHANC__GOOGLE_CLOUD_STORAGE__AUTHORIZED_USER_CLIENT_SECRET: "d-xxxxxxxxxx"
ORTHANC__GOOGLE_CLOUD_STORAGE__AUTHORIZED_USER_REFRESH_TOKEN: "1//xxxxxx-xxxxxxxx-xxxxxx"
Command used to bring up service: sudo docker compose up -d
Error Logs: refer screenshot
Looks like it is still trying to look for service account file and not cosuming authorized user details from docker-compose.yaml
Using params from here and converted for docker-compose using these rules.
Kindly help where I am going wrong