Nowadays, social login is usually used for faster registration, and you can save the time of remembering all your accounts. However, before creating a social login in Magento 2, you have to configure API of other social networks such as Yahoo, Facebook, Instagram, Pinterest, etc. Especially, in this post, we will show you the way 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) which are called application credentials are all that we need. With this external application, your website will be linked to Reddit API. And these credentials play a major role in making Reddit users get access to your site.
To configure Reddit API, let’s follow these steps:
Step 1: Let’s access to https://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
Step 2: After creating a new account, you are moved to a new page in which Reddit asks if you are a developer. Click …create an app… box.
Step 3: Create application window shows up. 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.
Step 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. If you want to know more about how to configure the API of other social networks in Magento 2, keep following us!