This commit is contained in:
Jesse Wierzbinski 2024-04-07 02:26:19 -10:00
parent 0f07ca94a3
commit 26596bb987
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ export default apiRoute<{
try {
const redirect_uri = new URL(redirect_uris);
if (!redirect_uri.protocol.startsWith("http")) {
if (redirect_uri.origin === "null") {
return errorResponse(
"Redirect URI must be an absolute URI",
422,