Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove rate-limits from sso/hash

Blue Mousefaed1f1ea9fe
diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts
index 1af890d5b..e79cfa0c8 100644
--- a/src/auth/auth.controller.ts
+++ b/src/auth/auth.controller.ts
@@ -480,13 +480,6 @@ export class AuthController {
@Headers() headers: unknown,
@Ip() ip: string,
): Promise<any> {
- await checkRateLimit(
- ip,
- 'sso-hash',
- isDevelopment ? LOCAL_OAUTH_RATE_LIMIT : PRODUCTION_OAUTH_RATE_LIMIT,
- 1800,
- )
-
const { hash, provider } = body
return this.authService.authenticateSSO(hash, headers, ip, provider)