@@ -20,7 +20,7 @@ import Alert from '@mui/material/Alert';
20
20
import CircularProgress from '@mui/material/CircularProgress' ;
21
21
import Loading from '../Shared/Loading' ;
22
22
23
- import { GoogleLoginButton , GithubLoginButton , OIDCLoginButton } from './ThirdPartyLoginComponents' ;
23
+ import { GoogleLoginButton , GithubLoginButton , GitlabLoginButton , OIDCLoginButton } from './ThirdPartyLoginComponents' ;
24
24
25
25
// styling
26
26
import { makeStyles } from '@mui/styles' ;
@@ -309,7 +309,7 @@ export default function SignIn({ isLoggedIn, setIsLoggedIn, wrapperSetLoading =
309
309
310
310
const renderThirdPartyLoginMethods = ( ) => {
311
311
let isGoogle = isObject ( authMethods . openid ?. providers ?. google ) ;
312
- // let isGitlab = isObject(authMethods.openid?.providers?.gitlab);
312
+ let isGitlab = isObject ( authMethods . openid ?. providers ?. gitlab ) ;
313
313
let isGithub = isObject ( authMethods . openid ?. providers ?. github ) ;
314
314
let isOIDC = isObject ( authMethods . openid ?. providers ?. oidc ) ;
315
315
let oidcName = authMethods . openid ?. providers ?. oidc ?. name ;
@@ -318,7 +318,7 @@ export default function SignIn({ isLoggedIn, setIsLoggedIn, wrapperSetLoading =
318
318
< Stack direction = "column" spacing = "1rem" className = { classes . thirdPartyLoginContainer } >
319
319
{ isGithub && < GithubLoginButton handleClick = { handleClickExternalLogin } /> }
320
320
{ isGoogle && < GoogleLoginButton handleClick = { handleClickExternalLogin } /> }
321
- { /* { isGitlab && <GitlabLoginButton handleClick={handleClickExternalLogin} /> } */ }
321
+ { isGitlab && < GitlabLoginButton handleClick = { handleClickExternalLogin } /> }
322
322
{ isOIDC && < OIDCLoginButton handleClick = { handleClickExternalLogin } oidcName = { oidcName } /> }
323
323
</ Stack >
324
324
) ;
0 commit comments