How to implement Oauth authentication in woocommerce - oauth

I created Application on Google, Facebook and LinkedIn and having API Key and Secret Key with me. But not experience how to Use that for Login.
I like to Use Oauth for login and checkout for products.
Store Logged-In public data into database.
I am looking for help/ guidence how to do this.
Looking for you all kind support.
Thanks in Advance.

Looks like the WooCommerce Social Plugin can handle that for you, though it's not free (currently $79/year).
From their site:
The plugin currently supports login with these platforms: WooCommerce
Facebook Login, WooCommerce Twitter Login, WooCommerce Google Login,
WooCommerce Amazon Login, WooCommerce LinkedIn Login, WooCommerce PayPal
Login, WooCommerce Instagram Login

Related

How to make instagram login with AWS Cognito Federated Identities

I am trying to implement social media login with AWS Cognito (Mobile services)for iOS app.AWS directly supports login with Amazon, Facebook, Google+ and Twitter. But i want to implement instagram login with AWS Cognito. How can I achieve this. Please look at the Screen Shot,
In the screen shot you will see provider sections like Amazon,facebook, google and Twitter and the rest of the three are for other. Please let me know which one will work for INSTAGRAM login in rest of the three provider OpenID, SAML and Custom. And how to implement it??
Unfortunately there is no out of box support for Instagram, so your best bet is to setup Instagram as Custom provider. Please refer to this doc and blog to learn about setting up custom provider.
Basically your app needs to interact directly with Instagram to get Instagram User's unique id. That id can then be used as developer user identifier in GetOpenIdTokenForDeveloperIdentity to get Cognito Identity Id and Token.
You can take a look at auth0, maybe this meet your requirements.
The instagram has stopped supporting authentication. You can use Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts.
Check below links -
1)https://developers.facebook.com/docs/instagram-basic-display-api
2)https://www.instagram.com/developer/
They mentioned, "Authentication — Instagram Basic Display is not an authentication solution. Data returned by the API cannot be used to authenticate your app users or log them into your app. If you need an authentication solution we recommend using Facebook Login instead".

Sign in with LinkedIn

when click on linkedIn button from my app linkedIn redirect to linkedIn App
If app is not install that time get the message please install the linkedIn.
I want to simple SignIn with LinkedIn like google SignIn.
So please give me proper response.
Try using LinkedIn iOS SDK
it provides
Single sign-on (SSO) authentication, in conjunction with the official LinkedIn mobile application.
A convenient wrapper for making authenticated calls to LinkedIn's REST APIs.
Deeplinking to additional member content in the official LinkedIn iOS app.
A sample application that demonstrates all of the SDK's features.

Auto login in twitter account using username and password

I am using Twitter oauth for achieving the auto-login concept by providing the username and password. I am only able to get the data from my Twitter account. How do i login to Twitter by providing the username and password as parameters to some function which may be Twitter API login function or whatever the function. Did anyone come across this issue? If so please process me the code or links.
I want to achieve the following using oauth Twitter API or xauth... or some script:
I have an icon (Twitter) in my air application which has some background details like url (www.twiiter.com), username, password.
If i click the Twitter icon, i want the Twitter site to login automatically and to be rendered on my AIR browser (webkit).
It can be anything like Twitter API or some script which does the login mechanism.
I am stuck with this, How do i login to Twitter using auto login?
The Twitter API no longer supports authenticating to Twitter with a user name and a password. In order to use the API, you need to implement OAuth either by writing your own implementation (which I strongly advise again) or by using a library that someone else has written.
Which one you use depends largely on your development platform.

Login through facebook into other sites - IPHONE

I have an application where i need to login to a website through facebook, twitter and the website's own login.
I'm not very sure how to login through facebook and connect it to the website. Like if i click on login with facebook button, it redirects to facbook login page( which is achievable with all the tutorials and information provided in the facebook developer documentation and the sdk) and then it is redirected to the website immediately after facebook login.
How to achieve this? Any suggestions or help to achieve this will well appreciated.
I also would want to know about the encrypted access token of facebook. How to use that access token. I have read the documentation, yet i have not got the concept so clear in my head.
EDIT: the website is already connected to facebook and twitter... I have to to the same on iphone.. I mean, the response i will get after login through facebook is an access token. Can i use this access token. How to link the response got after facebook login to the website to authenticate a user's login. This i need to do it in iphone.
Thanks in advance.
Here is an example on how to do it with php,
Facebook as Auth
EDIT:
As you mention you already have a website in place with facebook and twitter integration and only require to do it in iPhone.
For iPhone have a look at facebook sdk for iPhone.
What you get after a authentication from facebook in iPhone app will be a access_token. You can use this token to get the facebook userid. Match the same id with the one present in the website. This way you can validate a user.
For getting user details from acess_token try this.
graph.facebook.com/me?access_token=<token>.
This will return basic user information along with facebook userid.
Best of luck.

Integrate Google account login into a iOS app

I want to login in my iOS App with a Google account. Instead of having a database with users and having to register all the users, I simply login with my existing Google account.
Anyone knows a way of doing this, or a tutorial?
Google Accounts Authentication and Authorization for Mobile Apps has fairly detailed instructions for authenticating Google account users and includes iOS-specific steps.

Resources