feat(auth): add user and role management
This commit is contained in:
@@ -4,7 +4,7 @@ import Button from '@mui/material/Button';
|
||||
import Stack from '@mui/material/Stack';
|
||||
import Divider from '@mui/material/Divider';
|
||||
|
||||
import appConfig from 'config/app';
|
||||
import * as URLS from 'config/urls';
|
||||
import useSamlAuthProviders from 'hooks/useSamlAuthProviders.ee';
|
||||
import useFormatMessage from 'hooks/useFormatMessage';
|
||||
|
||||
@@ -24,10 +24,12 @@ function SsoProviders() {
|
||||
<Button
|
||||
key={provider.id}
|
||||
component="a"
|
||||
href={`${appConfig.apiUrl}/login/saml/${provider.issuer}`}
|
||||
href={URLS.SSO_LOGIN(provider.issuer)}
|
||||
variant="outlined"
|
||||
>
|
||||
{provider.name}
|
||||
{formatMessage('ssoProviders.loginWithProvider', {
|
||||
providerName: provider.name
|
||||
})}
|
||||
</Button>
|
||||
))}
|
||||
</Stack>
|
||||
|
Reference in New Issue
Block a user