wp-m365-login/includes
Friederich Loheide 81b3a74ae5
Some checks are pending
CI / PHP lint (7.4) (pull_request) Waiting to run
CI / PHP lint (8.0) (pull_request) Waiting to run
CI / PHP lint (8.1) (pull_request) Waiting to run
CI / PHP lint (8.2) (pull_request) Waiting to run
CI / PHP lint (8.3) (pull_request) Waiting to run
CI / PHP lint (8.4) (pull_request) Waiting to run
CI / WordPress Coding Standards (pull_request) Waiting to run
CI / WordPress.org Plugin Check (pull_request) Waiting to run
Let administrators link Microsoft accounts whose UPN differs from mail
Privileged accounts are never linked through the settable mail
attribute. Two new ways make that workable when UPN and e-mail differ:

- "Link Microsoft account" on the profile screen: the signed-in user
  (nonce, same browser via the state cookie, same user at the callback)
  signs in with Microsoft once and binds that identity. Existing links
  can only be removed by an administrator; an object ID bound elsewhere
  is refused.
- "Assigned Microsoft account (UPN)" per user, editable by
  administrators, used by sign-in and user sync; with an option to
  remove a link.

Sign-in now finds accounts by bound object ID first, then by assigned
UPN, then by e-mail, so linked users sign in whatever their addresses.

Also: third-audit report (docs/security-audit.md section 7), README
section on linking administrator accounts, translations, tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 03:57:45 +00:00
..
class-m365-login-admin.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
class-m365-login-auth.php Let administrators link Microsoft accounts whose UPN differs from mail 2026-09-24 03:57:45 +00:00
class-m365-login-button.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
class-m365-login-certificate.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
class-m365-login-crypto.php Fix the findings of a full second security audit 2026-09-23 17:10:30 +00:00
class-m365-login-graph.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
class-m365-login-jwt.php Add M365 Login plugin: Microsoft Entra ID sign-in for existing users 2026-09-22 14:21:10 +00:00
class-m365-login-settings.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
class-m365-login-sync.php Let administrators link Microsoft accounts whose UPN differs from mail 2026-09-24 03:57:45 +00:00
class-m365-login.php Fix the findings of the third security audit 2026-09-24 03:52:13 +00:00
functions.php Support custom login pages 2026-09-22 14:52:11 +00:00