diff --git a/.env.development b/.env.development
index dcf8960..57d2868 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,4 @@
VITE_API_BASE_URL=http://localhost:8080
-VITE_OAUTH_CLIENT_ID=stalwart-webui
#VITE_ACCESS_TOKEN=OPEN_SESAME
VITE_OAUTH_SCOPES=
diff --git a/.gitignore b/.gitignore
index 66626f3..6940c20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,19 +12,14 @@ dist
dist-ssr
*.local
-# Editor directories and files
-.vscode/*
-!.vscode/extensions.json
-.idea
-.DS_Store
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
.ignore
scripts/
-*.md
-!README.md
-!CHANGELOG.md
-/SPEC-*
+
+.*
+!.gitignore
+!.prettierrc
+!.env.development
+!.github/
+!.vscode/
+.vscode/*
+!.vscode/extensions.json
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c4ae4ad..3cd7229 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,15 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
+## [1.0.9] - 2026-08-24
+
+### Added
+- Server configurable OAuth client ID.
+
+### Changed
+
+### Fixed
+
## [1.0.8] - 2026-07-31
### Added
diff --git a/README.md b/README.md
index 0a77d6e..de00963 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,6 @@ Configuration is done through Vite environment variables. Copy or edit `.env.dev
```
VITE_API_BASE_URL=http://localhost:443
-VITE_OAUTH_CLIENT_ID=stalwart-webui
VITE_ACCESS_TOKEN=
VITE_OAUTH_SCOPES=
```
@@ -79,10 +78,20 @@ VITE_OAUTH_SCOPES=
| Variable | Description |
|---|---|
| `VITE_API_BASE_URL` | URL of the Stalwart server. Used for all API requests during development. In production builds (when empty or unset) requests are relative to the current origin. |
-| `VITE_OAUTH_CLIENT_ID` | OAuth 2.0 client ID. Defaults to `stalwart-webui`. |
| `VITE_ACCESS_TOKEN` | When set, skips the OAuth flow entirely and uses this token for all requests. Useful for local development and testing. |
| `VITE_OAUTH_SCOPES` | Optional OAuth scopes. Omitted from the authorization request when empty. |
+### OAuth client ID
+
+The OAuth 2.0 client ID is not a build-time setting. It is read at runtime from a meta tag in `index.html`:
+
+```html
+
+```
+
+The server rewrites the `content` attribute when it serves the page, so a single build works for any deployment. When no
+client ID is configured the attribute is left empty and the panel falls back to `stalwart-webui`.
+
### Bypassing OAuth for development
Set `VITE_ACCESS_TOKEN` to a valid bearer token to skip the login page and go straight to the admin panel. You can obtain a token from the Stalwart server's token endpoint or use an API key:
diff --git a/index.html b/index.html
index 12bf8c6..c5a0dfd 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,7 @@