diff --git a/LDTTeam.Authentication.Server/Services/ConditionService.cs b/LDTTeam.Authentication.Server/Services/ConditionService.cs index 03c0605..70d8b28 100644 --- a/LDTTeam.Authentication.Server/Services/ConditionService.cs +++ b/LDTTeam.Authentication.Server/Services/ConditionService.cs @@ -34,7 +34,7 @@ public class ConditionService(DatabaseContext db, IServiceProvider services, ILo IdentityUserLogin? loginInfo = await db.UserLogins .FirstOrDefaultAsync(x => - x.LoginProvider == provider && + x.LoginProvider.ToLower() == provider.ToLower() && x.ProviderKey == providerKey, cancellationToken: cancellationToken); var userId = loginInfo?.UserId;