Send correct payload to auth provider for oauth (#8389)

This commit is contained in:
Aiden Foxx
2021-09-28 16:21:03 +02:00
committed by GitHub
parent 18b20e7d54
commit f475c877ec

View File

@@ -295,7 +295,7 @@ router.get(
// Workaround to use the default local auth provider to validate
// the email and login without a password.
authResponse = await authenticationService.login(undefined, { identifier: email });
authResponse = await authenticationService.login(DEFAULT_AUTH_PROVIDER, { email });
} catch (error: any) {
emitStatus('fail');