mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 07:17:16 -05:00
[PR #1369] [MERGED] api/api-key: limit or allow access to services per key #1390
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1369
Author: @wukko
Created: 6/26/2025
Status: ✅ Merged
Merged: 6/26/2025
Merged by: @github-actions[bot]
Base:
develop← Head:api-key-services📝 Commits (4)
d69100capi/tiktok: validate that redirected link is still tiktok3243564api/api-keys: add allowedServices to limit or extend accessdce9eb3docs/protect-an-instance: add info about allowedServices in api keys8feaf5capi/api-keys: replace .find() with .some() in allowedServices📊 Changes
6 files changed (+55 additions, -8 deletions)
View changed files
📝
api/src/core/api.js(+4 -1)📝
api/src/core/env.js(+2 -0)📝
api/src/processing/services/tiktok.js(+4 -2)📝
api/src/processing/url.js(+2 -2)📝
api/src/security/api-keys.js(+36 -2)📝
docs/protect-an-instance.md(+7 -1)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.