abacritt / angularx-social-login

Social login and authentication module for Angular 17
630 stars 387 forks source link

Google Sign In Button won't show up, console: google is not defined #641

Closed stefan-stankovic closed 1 year ago

stefan-stankovic commented 1 year ago

I have just copied all of the code from the article that first shows up on google, on first run everything worked fine I just don't know how, after that, every other attempt finished with the above error.. Can someone help?

this is html: ` <asl-google-signin-button type="standard" shape="circle" size="large" (click)="signInWithGoogle()"

this is .ts: public signInWithGoogle(): void { this.authService.signIn(GoogleLoginProvider.PROVIDER_ID); }`

P.S. I have double checked provider id, tried to create multiple projects on google cloud etc.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.