Skip to content

Commit

Permalink
fix(authentication): Include query params when authenticating via aut…
Browse files Browse the repository at this point in the history
…henticate hook #2009
  • Loading branch information
burn2delete authored and daffl committed Jul 11, 2020
1 parent 572fc1a commit 4cdb7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication/src/hooks/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4cdb7bf

Please sign in to comment.