From 4cdb7bf2898385ddac7a1692bc9ac2f6cf5ad446 Mon Sep 17 00:00:00 2001 From: Matthew Ratzke Date: Sat, 11 Jul 2020 12:00:02 -0600 Subject: [PATCH] fix(authentication): Include query params when authenticating via authenticate hook #2009 --- packages/authentication/src/hooks/authenticate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/authentication/src/hooks/authenticate.ts b/packages/authentication/src/hooks/authenticate.ts index 74e28e3a3d..0ec2faaf40 100644 --- a/packages/authentication/src/hooks/authenticate.ts +++ b/packages/authentication/src/hooks/authenticate.ts @@ -46,7 +46,7 @@ export default (originalSettings: string | AuthenticateHookSettings, ...original } if (authentication) { - const authParams = omit(params, 'provider', 'authentication', 'query'); + const authParams = omit(params, 'provider', 'authentication'); debug('Authenticating with', authentication, strategies);