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]>
15 lines
342 B
JSON
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"
|
|
}
|
|
}
|