Skip to content
Advertisement

How to implement sign in with Google in Angular?

I need to implement a sign in with google feature on a website.
The problem is that I can’t find a library for Angular (11), for example React has one.
Even if there isn’t a library for angular, I can’t find one for typescript, any solutions?

Advertisement

Answer

you can use OAuth to handle login with google, the following article goes into futher detail and shows a working example with vanillaJS: https://developers.google.com/identity/sign-in/web/sign-in

Advertisement