Search Results :

×

Docker single sign-on for WordPress using OAuth


Configure Docker Single Sign-On (SSO) with WordPress OAuth & OpenID Connect Single Sign-On (SSO) plugin. Enable secure login into WordPress using Docker as OAuth and OpenID Connect provider. Docker Single Sign-On (SSO) with WordPress allows your users to login to your WordPress and access the site by authenticating with their Docker identity provider. You can also configure plugin using different IDPs such as Azure AD, Office 365, and other custom providers. It supports advanced Single Sign-On (SSO) features such as user profile Attribute mapping, Role mapping, multi-tenant login etc. Here we will go through a guide to configure Docker Single Sign-On (SSO) with WordPress for user authentication. By the end of this guide, users should be able to perform secure login to WordPress and access the site with Docker SSO. To know more about other features we provide in WP OAuth Single Sign-On ( OAuth & OpenID Connect Client ) plugin, you can click here.

Pre-requisites : Download And Installation

  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress OAuth Single Sign-On (SSO) plugin and click on Install Now.
  • Once installed click on Activate.

Steps to configure Docker Single Sign-On (SSO) Login into WordPress

1. Setup Docker as OAuth Provider

  • Go to the Docker's developer account and signup/login.
  • Click on Add Application to create a new application.
  • Enter the app name and click on Save Button.
  • Go to the OAuth tab in the left section and enter the Redirect URL which you will get from the OAuth Single Sign-On (SSO) plugin. click on Save Button.
  • Copy the Client ID and Client Secret and save it under the Client ID and Client Secret in your WordPress OAuth Single Sign-On (SSO) Plugin Configuration

2. Configure WordPress 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.
  • docker sso configure oauth
  • Configure OAuth application in Docker using the Callback/Redirect Url (refer screenshot below).

    Docker Custom OAuth 2.0 App
  • Fill in the configuration details below from received configuration details from Docker

    Client ID : Received from app configured in Docker
    Client Secret : Received from app configured in Docker
    Scope:  Based on data you want to get access to e.g. email or profile
    Authorize Endpoint: Authorization endpoint of Docker
    Access Token Endpoint: Token endpoint of Docker
    Get User Info Endpoint: Resource or userinfo endpoint of Docker
  • Click on Save Settings button once you have entered all mandatory information.
  • Docker Configure OAuth 2.0 App
  • Click on Test Configuration button to verify if you have configured correctly.
  • Docker Configure OAuth Provider
  • 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.
  • Docker OAuth Attribute Mapping Section
  • Go to WordPress Menu -> Appearance -> Widget.
  • Docker Configure OAuth Widget
  • Drag and drop miniOrange OAuth widget wherever you want on your website as shown in screenshot given below.
  • Docker miniOrange OAuth widget
  • 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.

3. Login Settings / Sign In Settings

  • The settings in Single Sign-On (SSO) Settings tab define the user experience for Single Sign-On (SSO). To add a Docker SSO login widget on your WordPress page, you need to follow the below steps.
  • 1. Sign in settings for WordPress 5.7 and before:

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • Docker Single Sign-On (SSO) OAuth/OpenID WordPress create-newclient login button setting

    2. Sign in settings for WordPress 5.8:

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • Docker Single Sign-On (SSO) OAuth/OpenID WordPress - create-newclient login button setting
    • Open your WordPress page and you can see the Docker SSO login button there. You can test the Docker Single Sign-On (SSO) now.

You have successfully configured Docker Single Sign-On (SSO) by configuring Docker as OAuth Provider and WordPress as OAuth Client using our WP OAuth Single Sign-On ( OAuth / OpenID Connect Client ) plugin. This solution ensures that you are ready to roll out secure access to your WordPress site using Docker login credentials within minutes.

Additional Resources


Mail us on oauthsupport@xecurify.com for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com