Skip to content

Replace Windows Live authentication with Microsoft and remove Facebook login - #2403

Merged
niemyjski merged 12 commits into
mainfrom
issue/microsoft-authentication
Oct 22, 2026
Merged

niemyjski merged 12 commits into
mainfrom
issue/microsoft-authentication

Conversation

@niemyjski

@niemyjski niemyjski commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Replaces Windows Live authentication with Microsoft Identity Platform v2, enables Microsoft signup through the existing OAuth flow, and removes Facebook login. Microsoft account creation, email matching, verification, and linking use the shared OAuth behavior.

Microsoft email-ownership policy changes are isolated in draft #2687.

Validation: the backend test-project build passed with zero warnings or errors; 19 focused backend tests and 13 focused frontend tests passed. Frontend type checks and lint passed. GitHub Actions Build #8723 passed on 2cb9d20.

Breaking changes: /api/v2/auth/live is replaced by /api/v2/auth/microsoft; the Facebook endpoint and provider configuration are removed. Microsoft signup is available when OAuth login is enabled and Microsoft is configured. Facebook-only users can recover access through password recovery. Stored Facebook account records are retained.

Verification limit: Real Entra consent and Graph callback require an app registration and remain unverified. Microsoft login and signup stay hidden until configured.

Verification and implementation details
  • Microsoft OAuth retains invitation and redirect handling, callback-state validation, and legacy Windows Live account cleanup.
  • Endpoint tests cover account signup, exact-email matching, invitation redemption, authenticated linking, and existing account verification behavior. User email-change tests cover Microsoft and Google consistently.
  • Unlinking uses a password and usable-provider count check; retained Facebook and Windows Live records do not count as another login method.
  • Facebook configuration, handler, provider client, UI, and unused icon are removed.
  • Browser shards install ClientApp dependencies with npm ci; --ci-e2e reuses the existing flag to skip Aspire's duplicate install.
  • Configure an Entra application for organizational and personal accounts, Web redirect URIs for each UI origin, delegated Graph User.Read, and a client secret. Set MicrosoftId=<client-id>;MicrosoftSecret=<secret>; in EX_ConnectionStrings__OAuth.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68278822f5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Endpoints/AuthEndpoints.cs
Comment thread src/Exceptionless.Web/ClientApp.angular/app/auth/auth.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 716f6d7911

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Endpoints/AuthEndpoints.cs
@niemyjski niemyjski self-assigned this Jul 30, 2026
@niemyjski
niemyjski force-pushed the issue/microsoft-authentication branch from d3d23d0 to ec96f56 Compare September 11, 2026 03:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-22T15:49:45.575824Z
We couldn’t complete this review. Comment @codex review to try again.
35a9599 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@niemyjski
niemyjski force-pushed the issue/microsoft-authentication branch from fc0f025 to a4c506a Compare September 16, 2026 00:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a4c506a146

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Handlers/AuthHandler.cs Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bfaa57a3cd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Handlers/AuthHandler.cs Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3fdd94da54

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/ClientApp.angular/app/auth/auth.js Outdated
@niemyjski
niemyjski force-pushed the issue/microsoft-authentication branch from ccd0f29 to 00aefe6 Compare October 22, 2026 03:04
@niemyjski niemyjski changed the title Replace Windows Live authentication with Microsoft Replace Windows Live authentication with Microsoft and remove Facebook login Oct 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00aefe62a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Endpoints/AuthEndpoints.cs
@niemyjski
niemyjski force-pushed the issue/microsoft-authentication branch from 2f37723 to cc941df Compare October 22, 2026 11:49
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 23% 22% 130 ❌
Exceptionless.Core 78% 70% 10988 ✔
Exceptionless.Insulation 51% 43% 370 ➖
Exceptionless.Web 86% 72% 9427 ✔
Summary 81% (28616 / 35495) 70% (14322 / 20504) 20915 ✔

@niemyjski
niemyjski merged commit 1326f74 into main Oct 22, 2026
22 checks passed
@niemyjski
niemyjski deleted the issue/microsoft-authentication branch October 22, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant