diff --git a/apps/remix/app/components/embed/embed-authentication-required.tsx b/apps/remix/app/components/embed/embed-authentication-required.tsx index db65e7a2f..4147f0e6f 100644 --- a/apps/remix/app/components/embed/embed-authentication-required.tsx +++ b/apps/remix/app/components/embed/embed-authentication-required.tsx @@ -9,6 +9,7 @@ export type EmbedAuthenticationRequiredProps = { email?: string; returnTo: string; isGoogleSSOEnabled?: boolean; + isMicrosoftSSOEnabled?: boolean; isOIDCSSOEnabled?: boolean; oidcProviderLabel?: string; }; @@ -17,6 +18,7 @@ export const EmbedAuthenticationRequired = ({ email, returnTo, // isGoogleSSOEnabled, + // isMicrosoftSSOEnabled, // isOIDCSSOEnabled, // oidcProviderLabel, }: EmbedAuthenticationRequiredProps) => { @@ -37,6 +39,7 @@ export const EmbedAuthenticationRequired = ({ Signing in... : Sign In} - {hasSocialAuthEnabled && ( -
-
- - Or continue with - -
-
- )} + {!isEmbeddedRedirect && ( + <> + {hasSocialAuthEnabled && ( +
+
+ + Or continue with + +
+
+ )} - {isGoogleSSOEnabled && ( - - )} + {isGoogleSSOEnabled && ( + + )} - {isMicrosoftSSOEnabled && ( - - )} + {isMicrosoftSSOEnabled && ( + + )} - {isOIDCSSOEnabled && ( - + {isOIDCSSOEnabled && ( + + )} + )}