Social login is popular among customers due to a faster registration process (requiring almost no additional information), 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, Instagram, Pinterest, etc. Today, we will show you how to configure Reddit API in Magento 2.
When entering Reddit, you need to create an external application to connect your website to Reddit API. Then, application ID and secret (Client ID and secret or API ID and Secret), or 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 Reddit users get access to your website.
To configure Reddit API, let’s follow these steps:
1. Let’s access to //www.reddit.com/prefs/apps, if you already have account, type it in the Log in field; otherwise, you have to create one by filling in Create a new account section. Then, click Sign Up button to start to configure Reddit API in Magento 2.
2. After creating a new account, you will see a new page in which Reddit asks if you are a developer. Click …create an app… box.
3. Create application window shows up. Then all you have to do is to type in your name, choose one of three available app types (web app, installed app and script), write your app description, url and redirect uri. After completing all the requirements, click create app button.
4. App ID and App secret are displayed as below. Copy and paste them into API fields in Magento Admin -> Store -> Configuration-> Magenest -> Social login -> Reddit following this link.
We have shown you how to configure Reddit API in Magento 2. If you want to ask for support, leave a comment or send us an email. Want to know more about how to configure the API of other social networks in Magento 2? Keep following us!