#Google, Facebook, SMS-OTP Auth

1 messages · Page 1 of 1 (latest)

wispy saffron
#

Hey, Payload noobie here. Can we extend the auth to use Third Party login providers? Also looking for possibility to add a SMS provider, which send SMS to login to app.

naive bisonBOT
dull trench
#

disableLocalStrategy in collection

wispy saffron
#

@dull trench any official documentation on how to integrate third party auth?

dull trench
#

Use endpoints and write your own strategy as you would do in any node based application. You can keep payload auth as it is and use custom auth on different collection.

hollow cove
#

Hi @raghavnarang,

I wanted to share how I handle SMS-OTP in my project using Payload CMS. I've added the following endpoints in the buildConfig:

endpoints:[ SendOTP, ValidateOTP, NearByProducts ],

Please find the routes on this file.

hollow jolt
#

haven't used it but this plugin looks promising: #showcase message

wispy saffron
#

Thanks Guys a lot

#

I will check all the solutions