diff --git a/src/msha/auth/index.ts b/src/msha/auth/index.ts index 27317821..e6534fbf 100644 --- a/src/msha/auth/index.ts +++ b/src/msha/auth/index.ts @@ -25,7 +25,7 @@ function getAuthPaths(isCustomAuth: boolean): Path[] { paths.push({ method: "GET", // For providers with custom auth support not implemented, revert to old behavior - route: /^\/\.auth\/login\/(?twitter|[a-z]+)(\?.*)?$/i, + route: /^\/\.auth\/login\/(?twitter|[a-z0-9]+)(\?.*)?$/i, function: "auth-login-provider", }); paths.push({