Files
audiopen-nextcloud/users.json.example
T
nickandClaude Sonnet 4.6 68be646f37 Add multi-user support via token-based routing and users.json config
Each user gets a unique secret token embedded in their webhook URL
(/webhook/:token). Credentials are loaded from users.json at startup
instead of environment variables, making it easy to add or remove users
without redeploying.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-06-18 17:27:08 -07:00

15 lines
342 B
JSON

{
"abc123secrettoken": {
"nextcloudUrl": "https://nextcloud.example.com",
"username": "alice",
"password": "alice-app-password",
"folder": "AudioPen"
},
"xyz789anothertoken": {
"nextcloudUrl": "https://nextcloud.example.com",
"username": "bob",
"password": "bob-app-password",
"folder": "AudioPen"
}
}