refactor: Remove NEXTCLOUD_OIDC_CLIENT_STORAGE environment variable

Remove the NEXTCLOUD_OIDC_CLIENT_STORAGE environment variable from all
configuration files. OAuth client credentials are now always stored in the
SQLite database, with no option to use a custom JSON file path.

Changes:
- Remove NEXTCLOUD_OIDC_CLIENT_STORAGE from .env.keycloak.sample
- Remove NEXTCLOUD_OIDC_CLIENT_STORAGE from docker-compose.yml (mcp-oauth and mcp-keycloak services)
- Remove NEXTCLOUD_OIDC_CLIENT_STORAGE from Helm deployment template
- Remove NEXTCLOUD_OIDC_CLIENT_STORAGE from test_cli.py test assertions
- Remove --headed flag from pytest addopts (use CLI arg instead)

This simplifies configuration by enforcing a single storage mechanism
(SQLite database) for OAuth client credentials.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2025-11-02 19:08:49 +01:00
parent 2ca6725fc6
commit 23360485a8
5 changed files with 1 additions and 15 deletions
-3
View File
@@ -68,9 +68,6 @@ ENABLE_OFFLINE_ACCESS=true
# Path to SQLite database for token storage
TOKEN_STORAGE_DB=/app/data/tokens.db
# OAuth client storage (for MCP internal use)
NEXTCLOUD_OIDC_CLIENT_STORAGE=/app/.oauth/keycloak_oauth_client.json
# ==============================================================================
# DOCKER COMPOSE NOTES
# ==============================================================================