Linux 软件免费装
Banner图

Office 365 User Authentication for WordPress

开发者 wpintegrate
更新时间 2023年11月2日 19:41
捐献地址: 去捐款
PHP版本: 5.6.36 及以上
WordPress版本: 6.3.2
版权: GPLv2 or later
版权网址: 版权信息

标签

dynamics crm office 365 authentication login azure active directory sso sharepoint

下载

详情介绍:

“If you want to keep your login information safe and secure, while easily accessible by the authorised personnel then this is the plugin for you!. Office 365 AAD User Authentication plugin is used to Authenticate an Azure Active Directory(AAD) user/Office 365 user against a WordPress website, which results in the user being logged into the WordPress website. Office 365 User Authentication for WP plugin provide these features: PREMIUM FEATURES: The premium version of the plugin offers all of the above, plus: https://www.youtube.com/watch?v=sjWOKeVJ1kM https://www.youtube.com/watch?v=JF-2tthUx08 PREREQUISITES SUPPORT We would be happy to assist if you have questions or if the plugin doesn't work for you as expected. Go to Support Webform. Our Suite of Office 365 Plugins Our Suite of Rest APIs, Web hook and Trigger based Plugins

安装:

Installation Process
  1. Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
  2. Before activate the plugin you need install the office365 base plugin. Click here to download the base plugin.
  3. Activate the base plugin through the Plugins screen in WordPress.
  4. After activate base plugin from your WordPress admin menu go to Office 365 >> Settings then under the General tab. Fill in the Application ID, Application Key and Tenant Name with the app registration details taken from the section Register an application in Azure Active directory for WordPress above.
  5. Click on the Save Setting and get authentication button, to have the plugin verified. If successful a green text with This plugin has been verified, will become visible.
  6. Now activate this authentication plugin through the Plugins screen in WordPress.
  7. After activate this plugin from your WordPress admin menu go to Office 365 >> Settings then under the user tab fill details as your needs.

屏幕截图:

  • /assets/screenshot-2.png
  • /assets/screenshot-3.png

升级注意事项:

1.0 Upgrade notices describe the reason a user should upgrade.

常见问题:

How to Create Azure Application

Register an application in Azure Active directory for WordPress What is an Azure Active directory application registration? A Microsoft Azure active directory application registration provides the permissions needed to access office365 and Azure service resources using its REST APIs.

  1. Sign in to the Azure portal at https://aad.portal.azure.com/ – Please login in with your Office 365 administrator account,\ this user should have the role of Global administrator in office 365. This can be verified at\ https://portal.office.com/adminportal/home#/users
  2. While logged into the Azure portal go to the menu item on the left for "Azure Active directory". On the same left, you will\ see a sub menu specific for azure active directory, click on the menu option for "App Registration" or via [this link]\ (https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps)
  3. In the upper left of the blade/panel to the right, click on the option for "New Application registration".
  4. In the "Create" blade/panel – Add a "Name", keep the "Application Type" as "Web app/API" and make the "Sign-on Url" "YOUR\ DOMAIN NAME /wp-admin/admin.php?page=o365_settings"
  5. After saving/creating the app, you can search by name for the said app, so it can be modified further.
  6. Under Settings >> Reply URLs – You should have two URLs: "YOUR DOMAIN NAME/wp-admin" and "YOUR DOMAIN NAME/wp- admin/admin.php?page=o365_settings"
  7. Under Settings >> Required Permissions – To initially verify the base plugin – Enable Access for the default API\ "Microsoft.Azure.ActiveDirectory" so that it has, ALL "Application Permissions" and "Delegated Permissions" enabled and saved.
  8. Under Settings >> Keys – create an application key by providing details for “Description” and choosing an appropriate\ "Expires" time frame, then Save and Copy the key value. You won’t be able to retrieve it after you leave the blade.
  9. To get the Tenant Name needed to complete the plugin setup go to – Azure Active Directory >> Domain names or directly at\ https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Domains, the Tenant Name, is the prefix section of\ the Microsoft specific subdomains example: “myTenantName” taken from myTenantName.onmicrosoft.com or myTenantName.sharepoint.com.
You can check steps with screenshots to create application in Azure portal from here and check application permission for user auth plugin from here.

更新日志:

1.0 1.1 Minor Bugs Fixes 1.2 Added option to add image as login link 1.3 Added option to style the login link 1.4 Make it compatible to PHP 7 and WordPress 5.2.4 1.5 Added option for Redirect after login 2.0 Updated azure endpoint with Graph APIs