pass the idToken to the backend instead of the token
parent
50a9de39c1
commit
0c9c56a7b5
|
@ -20,7 +20,7 @@ export class GoogleButtonComponent {
|
||||||
const platformProvider = GoogleLoginProvider.PROVIDER_ID;
|
const platformProvider = GoogleLoginProvider.PROVIDER_ID;
|
||||||
this.authService.signIn(platformProvider).then(
|
this.authService.signIn(platformProvider).then(
|
||||||
(userData) => {
|
(userData) => {
|
||||||
this.googleToken.emit({platform: 'Google', token: userData.token});
|
this.googleToken.emit({platform: 'Google', token: userData.idToken});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue