docs: OAuth client redirectUri with wildcard character (#18267)

This commit is contained in:
Lauris Skraucis
2025-01-06 09:39:31 -03:00
committed by GitHub
parent 487cc0751d
commit 9b661b75f1
3 changed files with 14 additions and 2 deletions
@@ -179,7 +179,7 @@ export class ApiAuthStrategy extends PassportStrategy(BaseStrategy, "api-auth")
if (origin && !isOriginAllowed(origin, client.redirectUris)) {
throw new UnauthorizedException(
`Invalid request origin - please open https://app.cal.com/settings/platform and add the origin '${origin}' to the 'Redirect uris' of your OAuth client.`
`Invalid request origin - please open https://app.cal.com/settings/platform and add the origin '${origin}' to the 'Redirect uris' of your OAuth client with ID '${client.id}'`
);
}