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:
@ -25,19 +25,11 @@ function filterProviders(team) {
|
||||
find(team.authenticationProviders, { name: provider.id, enabled: true })
|
||||
);
|
||||
})
|
||||
.map((provider) => {
|
||||
const authProvider = team
|
||||
? find(team.authenticationProviders, {
|
||||
name: provider.id,
|
||||
})
|
||||
: undefined;
|
||||
|
||||
return {
|
||||
id: provider.id,
|
||||
name: provider.name,
|
||||
authUrl: `${provider.authUrl}?authProviderId=${authProvider?.id || ""}`,
|
||||
};
|
||||
});
|
||||
.map((provider) => ({
|
||||
id: provider.id,
|
||||
name: provider.name,
|
||||
authUrl: provider.authUrl,
|
||||
}));
|
||||
}
|
||||
|
||||
router.post("auth.config", async (ctx) => {
|
||||
|
Reference in New Issue
Block a user