diff --git a/server/src/services/auth.service.ts b/server/src/services/auth.service.ts index b0094ae9edba9a..09776a0f422910 100644 --- a/server/src/services/auth.service.ts +++ b/server/src/services/auth.service.ts @@ -226,7 +226,7 @@ export class AuthService extends BaseService { const storageQuota = this.getClaim(profile, { key: storageQuotaClaim, default: defaultStorageQuota, - isValid: (value: unknown) => isNumber(value) && value >= 0, + isValid: (value: unknown) => isNumber(value) && Number(value) >= 0, }); const userName = profile.name ?? `${profile.given_name || ''} ${profile.family_name || ''}`;