idp button

This commit is contained in:
peintnermax
2024-09-12 08:26:12 +02:00
parent 623fc086bd
commit 98f221b981

View File

@@ -14,6 +14,7 @@ import { SignInWithAzureAD } from "./idps/SignInWithAzureAD";
import { SignInWithGeneric } from "./idps/SignInWithGeneric";
import { SignInWithGithub } from "./idps/SignInWithGithub";
import { SignInWithGitlab } from "./idps/SignInWithGitlab";
import { SignInWithGoogle } from "./idps/SignInWithGoogle";
export interface SignInWithIDPProps {
children?: ReactNode;
@@ -139,14 +140,14 @@ export function SignInWithIDP({
);
case IdentityProviderType.GOOGLE:
return (
<SignInWithApple
<SignInWithGoogle
key={`idp-${i}`}
e2e="google"
name={idp.name}
onClick={() =>
navigateToAuthUrl(idp.id, IdentityProviderType.GOOGLE)
}
></SignInWithApple>
></SignInWithGoogle>
);
case IdentityProviderType.GITLAB:
return (