Table of contents
How to enable Disqus login in WordPress
1. Create a Disqus App
To be able to log in via Disqus you must create a Disqus app first.
- Navigate to https://disqus.com/api/applications/
- Log in with your Disqus credentials if you are not logged in.
- Click on the link “registering an application” under the Applications tab.
- Enter a “Label” and “Description” for your App.
- Fill “Website” with the url of your homepage, like: https://yoursite.com/
- Complete the Human test and click the “Register my application” button.
- Fill the “Domains” field with your domain name like: yoursite.com
- Select “Read only” at Default Access under the Authentication section.
- Into the “Callback URL” field you should add the URL that Nextend Social Login suggests at the backend.
- Click the “Save Changes” button!
- Navigate to the “Details” tab of your Application!
- Here you can see your “API Key” and “API Secret:”. These will be needed in the plugin’s settings.
2. App setup
Once your Disqus app is ready you’ll need to copy and paste the API Key and API Secret to the Disqus provider’s Settings tab.
Once your API Key and API Secret has been added you need to verify the setup first. This verification helps you identify possible problems with the app.
The API Key of your Disqus app. You can find it at under your App’s OAuth Information section.
The API Secret of your Disqus app. You can find it at under your App’s OAuth Information section.
Username prefix on Register
Whenever a new user registers with their Disqus account they can get a custom prefix so you can easily identify them.
Fallback username prefix on register
Whenever a new user registers with their Disqus account and we can not generate a valid username from the first name or last name, a random username will be generated. With this option they can get a custom prefix so you can easily identify them.
Terms and conditions
This option can only be seen, if Terms and conditions is set to Show in Global Settings → Privacy tab. Here you can set custom Terms and Conditions for users who register with Disqus. For more information please read our GDPR documentation.
By default Nextend Social Login stores the first name, last name, email, avatar url and access token if it is possible, however some additional information can also be retrieved and stored.
When an option is checked, that field will be stored in a meta key with the specified name.
It determines when the synchronization shall happen.
- Register: whenever a new user registers with a provider, their data will be retrieved and stored.
- Login: whenever user logs in with a provider, their data will be retrieved and stored.
- Link: whenever user links and existing WordPress account with a provider, their data will be retrieved and stored.
Stores the user’s biography.
Stores the user’s location.
Disqus join date
Stores the date when the user joined to Disqus.
Stores the user’s Disqus profile link.
Stores the countof the followers the user has.
Stores the count of the user’s followed content.
Stores the user’s reputation label.
Stores the users’ reputation score.
Number of posts
Stores the count of the posts the user has.
Number of followed forums
Stores the count of the forums followed by the user.
Common error messages returned by Disqus during verification
Invalid Request: Invalid parameter: redirect_uri (should match predefined callback URI)
The problem is that the entered Callback URL is not correct for your app. Check the 9 step of the App setup to fix the problem.
Invalid Request: Invalid parameter: client_id
The problem is that the entered API Key field is not correct for your app or maybe the app with the entered ID was deleted. Check the 12th step of the App setup to fix the problem.
Error: unauthorized_client: Either client_id or client_secret is invalid
The API Secret you copied from the Disqus app is invalid. Make sure the correct one was copied.