Reputation: 6094
I am working on an Ionic 2 app . I would like to implement social login options such as google and facebook. My backend is built on Ruby on Rails API. I believe, I can use cordova facebook
and google plugins
for authentication.
Once the user is authenticated with facebook or google, redirect to backend API and authenticate with omniauth
end-point setup in my API. This will authenticate the user in my app.
I would like to know if this is the right way to authenticate with google and facebook ? I would appreciate any kind of help on this topic.
Upvotes: 1
Views: 116
Reputation: 427
Give Auth0 a try: http://auth0.com. It really simplifies all login scenarios!
Upvotes: 2