Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

A plugin for WordPress that allows users to authenticate with Azure AD B2C using OpenID Connect.

License

Notifications You must be signed in to change notification settings

AzureAD/active-directory-b2c-wordpress-plugin-openidconnect

Repository files navigation

active-directory-b2c-wordpress-plugin-openidconnect

This repo contains the code for a WordPress plugin that allows users to authenticate with Azure AD B2C using OpenID Connect. Admins have the ability to configure several B2C policies: general sign-in/sign-up without multifactor authetication, admin sign-in/sign-up with multifactor authentication (optional), and profile editing.

A live version of a WordPress site with this plugin installed is available here: https://olenasblog.azurewebsites.net/

Pre-requisites

Use the Azure Portal to Create B2C Policies

  • Create a sign-in/sign-up policy and an edit profile policy.
  • Optional: Create a different sign-in policy for admins.
  • For detailed instructions, see here.

Downloading and Installing this Plugin

  • Download this source code from github as a zip file.
  • Login to your WordPress site as an admin.
  • Navigate to your Dashboard > Plugins > Add New > Upload Plugin.
  • Upload the zip file, then activate the plugin.
  • On your Admin dashboard, a new options page called "B2C Authentication Settings" should appear under the Settings button.
  • Click on that page and fill in the prompts for tenant, clientID, etc.

More information

B2C is an identity management service for both web applications and mobile applications. Developers can rely on B2C for consumer sign up and sign in, instead of relying on their own code. Consumers can sign in using brand new credentials or existing accounts on various social platforms (Facebook, for example).

Learn more about B2C here: https://azure.microsoft.com/en-us/services/active-directory-b2c/

About

A plugin for WordPress that allows users to authenticate with Azure AD B2C using OpenID Connect.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages