From 7ec1caa8f2a69a851d3346463d72f1702549d0e6 Mon Sep 17 00:00:00 2001 From: Federico Amura Date: Tue, 9 Apr 2024 18:55:43 -0300 Subject: [PATCH] fix: use AuthMethodType.GoogleJwt as authMethodType when returning AuthMethod from GoogleProvider::signInUsingPopup (#415) --- packages/lit-auth-client/src/lib/providers/GoogleProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lit-auth-client/src/lib/providers/GoogleProvider.ts b/packages/lit-auth-client/src/lib/providers/GoogleProvider.ts index b8fde521ce..2ab7b9ae21 100644 --- a/packages/lit-auth-client/src/lib/providers/GoogleProvider.ts +++ b/packages/lit-auth-client/src/lib/providers/GoogleProvider.ts @@ -157,7 +157,7 @@ export default class GoogleProvider extends BaseProvider { clearInterval(interval); popup.close(); resolve({ - authMethodType: AuthMethodType.Google, + authMethodType: AuthMethodType.GoogleJwt, accessToken: token, }); }