From b238f3d0602cbc63361e737a6497eced41f95dc9 Mon Sep 17 00:00:00 2001 From: Balu Babu Date: Fri, 20 Jan 2023 07:59:52 +0530 Subject: [PATCH] fix: fixed magic-link account creation bug --- packages/hoppscotch-backend/src/auth/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-backend/src/auth/auth.service.ts b/packages/hoppscotch-backend/src/auth/auth.service.ts index f1bb3ccc9..cce4e2d20 100644 --- a/packages/hoppscotch-backend/src/auth/auth.service.ts +++ b/packages/hoppscotch-backend/src/auth/auth.service.ts @@ -229,7 +229,7 @@ export class AuthService { * * If user was created with another provider findUserByEmail may return true */ const profile = { - provider: 'email', + provider: 'magic', id: user.value.email, }; const providerAccountExists = await this.checkIfProviderAccountExists(