Skip to content

Commit

Permalink
Merge branch 'Azure:main' into developer/timothywang/revert-to-last-r…
Browse files Browse the repository at this point in the history
…elease-and-update-versions-url
  • Loading branch information
Timothyw0 authored Dec 15, 2024
2 parents a246756 + c74de88 commit e941c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msha/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getAuthPaths(isCustomAuth: boolean): Path[] {
} else {
paths.push({
method: "GET",
route: /^\/\.auth\/login\/(?<provider>github|twitter|google|facebook|[a-z]+)(\?.*)?$/i,
route: /^\/\.auth\/login\/(?<provider>github|twitter|google|facebook|[a-z0-9]+)(\?.*)?$/i,
function: "auth-login-provider",
});
}
Expand All @@ -54,7 +54,7 @@ function getAuthPaths(isCustomAuth: boolean): Path[] {
},
{
method: "GET",
route: /^\/\.auth\/purge\/(?<provider>aad|github|twitter|google|facebook|[a-z]+)(\?.*)?$/i,
route: /^\/\.auth\/purge\/(?<provider>aad|github|twitter|google|facebook|[a-z0-9]+)(\?.*)?$/i,
// locally, all purge requests are processed as logout requests
function: "auth-logout",
},
Expand Down

0 comments on commit e941c77

Please sign in to comment.