Revert "feat: Add hosted domain hint when signing in through Google SSO from subdomain (#2458)" (#2467)

This reverts commit e613ec732b.
This commit is contained in:
Tom Moor
2021-08-21 11:11:01 -07:00
committed by GitHub
parent e613ec732b
commit 72da0653cc
3 changed files with 11 additions and 38 deletions

View File

@ -56,7 +56,7 @@ describe("#auth.config", () => {
it("should return available providers for team subdomain", async () => {
process.env.URL = "http://localoutline.com";
const team = await buildTeam({
await buildTeam({
guestSignin: false,
subdomain: "example",
authenticationProviders: [
@ -74,9 +74,6 @@ describe("#auth.config", () => {
expect(res.status).toEqual(200);
expect(body.data.providers.length).toBe(1);
expect(body.data.providers[0].name).toBe("Slack");
expect(body.data.providers[0].authUrl).toContain(
`?authProviderId=${team.authenticationProviders[0].id}`
);
});
it("should return available providers for team custom domain", async () => {