Social login is usually used by customers due to a faster registration process (almost no additional information is needed), and you can save the time of remembering all your accounts. However, before creating a social login in Magento 2, you have to connect to the API of other social networks such as Google, Facebook, Yahoo, Live, Instagram, Pinterest, etc. But do you know how to configure Microsoft Live API in Magento 2?
When entering social networks, you need to create an external application to connect your website to their API. Then, application ID and secret (Client ID and secret or API ID and Secret) which are called application credentials are all that we need. With this external application, your website will be linked to API. And these credentials play an important role in making social networks’ users get access to your website. Depending on each kind of social network, these credentials may differ in name, content and format.
If you want to know how to create a new application in Microsoft Live and how to configure Microsoft Live API in Magento 2, let’s follow these steps:
Step 1: When you enter https://apps.dev.microsoft.com , you are required to log in. If you don’t have any Microsoft account, please sign up!
Step 2: After signing in, click Add an app button to create a new application.
Step 3: Filling in all the fields such as the application name, contact email and tick on Let us help you get started and then press Create
Step 4: After a minute, your new application will be created successfully; then you may choose the kind of your app: single page app, mobile and desktop App or Web API. Or you can skip this step by pressing Skip guided setup (on the right corner of the screen)
Step 5: Next, you will receive your Application ID.
Step 6: To get Application Secret, click Generate New Password or Generate New Key Pair. A new pop-up will appear to show your Application Secret.
Step 7: Copy and insert Application ID and Secret into the Microsoft Live field on Magento 2 backend. Next, you have to connect your website to Microsoft Live by inserting your URL in the Platforms => Add Platform => Web.
We have shown you how to configure Microsoft Live API in Magento 2. If you want to ask for support, leave a comment or send us an email. If you want to know more about how to configure the API of other social networks in Magento 2, keep following us!