I saw that push plugin is already mentionned.
However lot of apps are using facebook, linkedin and google login.
I think it could be nice to have them in Capacitor
Yes, absolutely right bro.
It would probably help if you would provide links to the actual and specific plugins you are using and whose functionality you want to use with Capacitor.
Facebook : https://github.com/jeduan/cordova-plugin-facebook4
Linkedin :
https://github.com/zyra/cordova-plugin-linkedin
Google+ :
https://github.com/EddyVerbruggen/cordova-plugin-googleplus
It could be nice to add a unique plugin like :
SocialAuthPlugin which agregate thoses plugins. And to signin we could have :
socialAuth.signinGoogle()
socialAuth.signinLinkedin()
socialAuth.signinFacebook()
Cool, please include socialAuth.signinTwitter(), socialAuth.signinInstagram()
I'm not sure about these ones, as i'm using server side authentication even with facebook to integrate single-sign on with a normal login feature.
FSS repository can you explain how you perform server side authentication as Facebook is using oauth?
For me I have multiple step:
Step 1 get approval on client side (website or mobile app)
Step 2 send Auth token to server
Step 3 validate Auth token and retrieve profile information (like s'user ID)
Step 4 compare the user ID with what I have in DB => if exists it is a login, if not it is a sign-up. Then I answer with my own token
However even in this schemas you need the plug-in to proceed with the acceptation of the user on client side
After if you have another solution I would be happy to check it because Facebook plug-in cause me lot of trouble!
Hi,
I am developing an application which has linkedin authentication and I am using ionic capacitor. I installed the cordova plugin without any installation variables as capacitor doesn't support it. My question is that where do I put in the installation variables for ios and android and in what tag?
this highly depends on the plugin you are using, not all of them handle the variables the same way
I want to use the following plugin
https://ionicframework.com/docs/native/linkedin/
Issues tagged with plugin request are closed but tracked for reactions to gauge interest.
If you are interested in this plugin, add the thumbs up emoji (+1) reaction on the issue so we can sort them based on it.
@TitikshaDaga there is another issue for the variables/strings of plugins, https://github.com/ionic-team/capacitor/issues/624
Facebook : https://github.com/jeduan/cordova-plugin-facebook4
Linkedin :
https://github.com/zyra/cordova-plugin-linkedin
Google+ :
https://github.com/EddyVerbruggen/cordova-plugin-googleplusIt could be nice to add a unique plugin like :
SocialAuthPlugin which agregate thoses plugins. And to signin we could have :socialAuth.signinGoogle()
socialAuth.signinLinkedin()
socialAuth.signinFacebook()
@speedfl were you able to successfully implement any of these social log ins (specifically google +)? I get build issues when trying the googleplus plugin. I've tried several other approaches, and read I've read that you need to downgrade to uiwebview to get google auth to work (capacitor uses wkwebview)
@corysmc Facebook works fine - check out this article on how to make it work with capacitor https://www.joshmorony.com/using-cordova-plugins-that-require-install-variables-with-capacitor/ - There are just a few steps once the package is installed, and it works great.
I am currently implementing google into my app so will let you know how it is
@oliverandersencox Can you tell us how to do that with google login?
https://ionicframework.com/docs/native/google-plus
@Sampath-Lokuge i had no luck with google login, however will try again this week!
馃憢
We now have a repo for Capacitor Community proposals.
This request has been moved to https://github.com/capacitor-community/proposals/issues/17. Please 馃憤 the issue if you'd like to see this plugin for Capacitor!
Thanks!
Ionitron 馃挋
Most helpful comment
@corysmc Facebook works fine - check out this article on how to make it work with capacitor https://www.joshmorony.com/using-cordova-plugins-that-require-install-variables-with-capacitor/ - There are just a few steps once the package is installed, and it works great.
I am currently implementing google into my app so will let you know how it is