Digitalocean single sign-on for WordPress using OAuth
Need help with the setup? Contact us at firstname.lastname@example.org and we'll help you get things in place in no time.
Step by step guide to configure SSO
Step 1: Download and install miniOrange OAuth Client
From your WordPress dashboard
Click on PluginsAdd New tab.
Search for OAuth Login (OAuth Client) plugin. Install the plugin.
Activate OAuth Client by miniOrange from your Plugins page.
Step 2: Configure OAuth client
After activating OAuth Single Sign On – SSO (OAuth client) plugin go to miniOrange OAuth.
Click on Select Application to search your OAuth Provider application or click on your OAuth Provider application from the given applications.
If your Application/ Server Name is not there in default list. You can click on Custom OAuth 2.0 App or Custom OpenID Connect App to add custom OAuth/OpenID Connect Server.
Configure OAuth application in digitalocean using the Callback/Redirect Url (refer screenshot below).
Fill in the configuration details below from received configuration details from digitalocean
Client ID :
Received from app configured in digitalocean
Client Secret :
Received from app configured in digitalocean
Based on data you want to get access to e.g. email or profile
Authorization endpoint of digitalocean
Access Token Endpoint:
Token endpoint of digitalocean
Get User Info Endpoint:
Resource or userinfo endpoint of digitalocean
Click on Save Settings button once you have entered all mandatory information.
Click on Test Configuration button to verify if you have configured correctly.
On successful configuration, you will get Attributes Name and Attribute Values on Test Configuration window. Map Attribute Names provided by your OAuth Server with OAuth Client Attributes given under Attribute Mapping Section and click on Save Settings.
Go to WordPress Menu -> Appearance -> Widget.
Drag and drop miniOrange OAuth widget wherever you want on your website as shown in screenshot given below.
Copy paste your site-URL on private window and you will be able to see Login button with display name you have given.
Once logged in, you will be able to access your WordPress profile.
Auto Create Users
Auto-create User in WordPress after doing SSO with the user credentials if the user is not already present in WordPress User list.
Login using widget / link / shortcode
Use OAuth login widget /link/shortcode anywhere on your website with option to customize Login Button custom CSS.
Custom Redirect URL after login and logout
Configure the URL wherever you want to redirect users after login or after logout.
Restrict site to logged in user. Here, enabling restrict site to logged in user will auto redirect the user to oauth provider's login page if user is not already logged in.
Domain specific registration
Restrict the user login based on configured domains. You can allow/deny the user login based on email domain.
Access the plugin over your multiple subsites.
Account Linking allows to sync user accounts in WordPress database. If user already have account in WordPress, then based on common attribute plugin updates User's WordPress profile.
BuddyPress Attribute Mapping
Role mapping with BuddyPress attributes so that Buddypress roles are assigned based on OAuth groups/roles.
Dynamic Callback URL
This feature allow you to add the dynamic callback/redirect URL.
Page based restrictions over users based on their roles and whether they are logged in or not.
User can map Username, FirstName, LastName, Email, Group Name and also map custom attribute as per requirement.
User to set WordPress roles based on groups/roles received in OAuth Provider response with configured mapping.
Other Grant Types We Support
Authorization code grant
Refresh Token Grant
Resource owner credentials grant (Password grant)
Client Credentials Grant
WHAT OUR CUSTOMERS SAY
Need Help? We are right here!
Contact miniOrange Support
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.