diff --git a/ui/src/app/auth/Login.tsx b/ui/src/app/auth/Login.tsx index edf9e58401..7d8b480738 100644 --- a/ui/src/app/auth/Login.tsx +++ b/ui/src/app/auth/Login.tsx @@ -119,33 +119,60 @@ export default function Login() { Login to Flipt - -
+
-
- {providers.map((provider) => ( -
- { - e.preventDefault(); - authorize(provider.authorize_url); - }} - > - - Sign in with {provider.name} - - - With {provider.name} - + {providers && providers.length > 0 && ( + + )} + {(!providers || providers.length === 0) && ( +
+
+

+ No Providers +

+
+

+ Authentication is set to{' '} + required, + however, there are no login providers configured. + Please see the documentation for more information. +

+
+
- ))} -
+
+ )}