chore: Added client credentials grant for API calling from services. (#6325)

* chore: Added client credentials grant for API calling from services.

* chore: Added authentication documentation
This commit is contained in:
SamTV12345 2024-04-13 10:32:23 +02:00 committed by GitHub
parent cda81ddb7d
commit 8a66b04b68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 70 additions and 17 deletions

View file

@ -60,6 +60,7 @@ const migratePluginsFromNodeModules = async () => {
const cmd = ['pnpm', 'ls', '--long', '--json', '--depth=0', '--no-production'];
const [{dependencies = {}}] = JSON.parse(await runCmd(cmd,
{stdio: [null, 'string']}));
await Promise.all(Object.entries(dependencies)
.filter(([pkg, info]) => pkg.startsWith(plugins.prefix) && pkg !== 'ep_etherpad-lite')
.map(async ([pkg, info]) => {