Social Media Authentication Using Passport with NestJS BackEnd For which JWT authentication is already implemented.
You have already implemented jwt authentication using passport
, @nestjs/passport
, passport-jwt
packages in your projects. So you have those packages preinstalled.
Lets Say you want to implement facebook and google authentications. So the packages for facebook authentication would be the followings:
passport-facebook
and@types/passport-facebook
(dev dependency for types).
For google authentication packages to install would be