I am implementing social login. To get access token from google oauth2:
this.authService.socialSignIn("google").subscribe((data: any) => {
this.http.post(url, {access_token: data.token}, httpOptions).subscribe(() => {
....
}
});
But this doesn't work for me. It seems data.token is not correct access token of google.