Login with Windows Live Single Sign-On (SSO) using WordPress OAuth | WordPress Windows Live SSO
Overview
Windows Live Single Sign-On (SSO) integration on your WordPress website with WordPress OAuth & OpenID Connect Single Sign-On (SSO) plugin easily enables your users to conveniently log into your websites and applications with Single Sign-On (SSO) using a single set of credentials from their Windows Live account. With Windows Live as the OAuth Provider and WordPress as the OAuth Client, our plugin ensures a seamless SSO experience between the WordPress and Windows Live platforms with just a single click. In addition to Windows Live Single Sign-On (SSO), our WordPress SSO plugin offers advanced features for Windows Live integration. This includes User profile attribute mapping, Role mapping, and granting site access based on organization email domains. For added security, you can even protect your entire WordPress site behind the WordPress Windows Live Single Sign-On (SSO). By implementing Windows Live SSO, our plugin enhances user authentication and safeguards the login process. To get started, simply follow the step-by-step instructions in the guide below to install and configure the plugin for your Windows Live Windows Live Single Sign-On (SSO) setup.
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 Login into WordPress with Windows Live Single Sign-On (SSO)
1. Setup Windows Live as OAuth Provider
- Sign in to Azure portal.
- Select Azure Active Directory.
- In the left-hand navigation pane, click the App registrations service, and click New registration.
- When the Create page appears, enter your application's registration information.(Refer to the below table)
- Select "Web app / API" for client applications and resource/API applications that are installed on a secure server. This setting is used for OAuth confidential web clients and public user-agent-based clients. The same application can also expose both a client and resource/API.
- For "Web app / API" applications, provide the base URL of your app. eg, https://<domain-name> might be the URL for a web app running on your local machine. Users would use this URL to sign in to a web client application.
- Make sure the "Grant admin consent to openid and offline_access permissions" option is enabled. When finished, click Register.
- Azure AD assigns a unique Application ID to your application. The Application ID is your Client ID and the Directory ID is your Tenant ID, keep these values handy as you will need them to configure the miniOrange OAuth Client plugin.
- Go to Certificates and Secrets from the left navigaton panel and click on New Client Secret. Enter description and expiration time and click on ADD option.
- Copy the secret key "value" and keep the value handy it will be required later to configure Client Secret under the miniOrange OAuth Client Plugin.
Name : | Name of your application. |
Application type : |
|
Redirect URI : |
|
Note: The client secret for your developer application will expire in 180 days. To ensure continued functionality, you will need to generate a new client secret before the expiration and update it in the OAuth Single Sign-On plugin.
You have successfully configured Windows Live as OAuth Provider for achieving user authentication with Windows Live Single Sign-On (SSO) login into your WordPress Site.
2: Setup WordPress as OAuth Client
- Go to Configure OAuth tab and click Add New Application to add a new client application into your website.
- Choose your Application from the list of OAuth / OpenID Connect Providers, Here Windows Live.
- After selecting the provider copy the Callback URL which needs to be configured in OAuth Provider's SSO application configuration.
- Enter the Client Credentials like Client ID & Client Secret which you will get from the Windows Live SSO application.
- Please refer the below table for configuring the scope & endpoints for Windows Live in the plugin.
- Click Next.
- Verify the configuration details and click on Finish to save the configuration.
Client ID : | from the Windows Live SSO application configured |
Client Secret : | from the Windows Live SSO application configured |
Scopes | openid |
Authorize Endpoint: | https://login.live.com/oauth20_authorize.srf |
Access Token Endpoint: | https://login.live.com/oauth20_token.srf |
You have successfully configured WordPress as OAuth Client for achieving Windows Live Single Sign-On (SSO) with WordPress for user authentication.
3. User Attribute Mapping
- User Attribute Mapping is mandatory for enabling users to successfully login into WordPress. We will be setting up user profile attributes for WordPress using below settings.
Finding user attributes
- Go to Configure OAuth tab. Scroll down and click on Test Configuration.
- You will see all the values returned by your OAuth Provider to WordPress in a table. If you don't see value for First Name, Last Name, Email or Username, make the required settings in your OAuth Provider to return this information.
- Once you see all the values in Test Configuration, go to Attribute / Role Mapping tab, you will get the list of attributes in a Username dropdown.
4. Sign In Settings
- WordPress 5.7 and below
- WordPress 5.8
- WordPress 5.9 and above
In this Guide, you have successfully configured Windows Live Single Sign-On (SSO) by configuring Windows Live 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 Windows Live login credentials within minutes.