Closed abhisheksharma662 closed 5 years ago
i am searching from past 1 weak to sort out the issue and not found anything can anyone please solve my problem so that i can use this plugin and suggest everyone to use it
Can you provide with the error it's throwing?
https://ibb.co/0MX3Chc https://ibb.co/8Kk9j7D
sir 2 jpg i marked one is my terminal jpg second one is my code jpg as you can see terminal is throwing error on line no 83 Declaration or statement expected
import {AuthServiceConfig, GoogleLoginProvider, SocialLoginModule} from 'angular5-social-login';
import {environment} from '../environments/environment';
export function getAuthServiceConfigs() {
let config = new AuthServiceConfig([{
id: GoogleLoginProvider.PROVIDER_ID,
provider: new GoogleLoginProvider(environment.GOOGLE_SITE_KEY)
}]);
return config;
}
This will resolve the issue.
export function getAuthServiceConfigs() { let config = new AuthServiceConfig( [ { id: GoogleLoginProvider.PROVIDER_ID, provider: new GoogleLoginProvider("476522047024-sdu9l9cav23g7cs6g2lhm4nc89h6boje.apps.googleusercontent.com") } ]; ); return config; }
code is completely fine but throwing error and not able to run properly can anyone give me solutiuon ?