Move the settings screen to its own top-level menu
Adds an "M365 Login" menu entry with a Microsoft-style icon and one submenu per tab (Connection, Button, Security). The active tab is taken from the URL, kept in the post-save redirect and highlighted in the submenu. Notices are printed explicitly because top-level pages do not include options-head.php. Links, docs and screenshots updated. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JJxAHYdMfKPoN4koRc4Ci2
This commit is contained in:
parent
8766927123
commit
662756bc75
12 changed files with 664 additions and 576 deletions
|
|
@ -71,7 +71,7 @@ Microsoft terms and privacy: [Microsoft Services Agreement](https://www.microsof
|
|||
== Installation ==
|
||||
|
||||
1. Upload the plugin folder to `/wp-content/plugins/` or install it through the WordPress plugin screen, then activate it.
|
||||
2. Go to **Settings → M365 Login** and copy the **Redirect URI** shown in the sidebar.
|
||||
2. Open the new **M365 Login** menu entry and copy the **Redirect URI** shown in the sidebar.
|
||||
3. In the [Microsoft Entra admin center](https://entra.microsoft.com/) open **App registrations → New registration**. Choose *Accounts in this organizational directory only*, select the **Web** platform and paste the redirect URI.
|
||||
4. From the app's overview page copy the **Application (client) ID** and the **Directory (tenant) ID** into the plugin settings.
|
||||
5. Pick the authentication method: either generate a certificate in the plugin and upload the downloaded `.cer` under **Certificates & secrets → Certificates**, or create a client secret under **Certificates & secrets → Client secrets** and paste its *value*. Both methods have a step-by-step guide in the settings.
|
||||
|
|
@ -125,9 +125,9 @@ The settings, cached data and the per-user Microsoft object ID are removed.
|
|||
== Screenshots ==
|
||||
|
||||
1. The customised button on the WordPress login screen.
|
||||
2. Settings – Connection tab with redirect URI and tenant test.
|
||||
3. Settings – Button tab with live preview, colour pickers and icon picker.
|
||||
4. Settings – Security tab with the Entra group picker and button-only mode.
|
||||
2. M365 Login – Connection tab with redirect URI and tenant test.
|
||||
3. M365 Login – Button tab with live preview, colour pickers and icon picker.
|
||||
4. M365 Login – Security tab with the Entra group picker and button-only mode.
|
||||
5. Login screen in button-only mode.
|
||||
|
||||
== Changelog ==
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue