Add user support for changing auth methods

This commit is contained in:
Tuan Dang
2023-07-22 12:33:57 +07:00
parent be677fd6c2
commit ab43e32982
22 changed files with 264 additions and 31 deletions
@@ -26,7 +26,7 @@ export const OrgSSOSection = (): JSX.Element => {
"upgradePlan",
"addSSO"
] as const);
const handleSamlSSOToggle = async (value: boolean) => {
try {
if (!currentOrg?._id) return;
@@ -53,7 +53,7 @@ export const OrgSSOSection = (): JSX.Element => {
<div className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600">
<div className="flex items-center mb-8">
<h2 className="text-xl font-semibold flex-1 text-white">
Configuration
SAML SSO Configuration
</h2>
{!isLoading && (
<Button
@@ -24,7 +24,7 @@ export const OrgTabGroup = () => {
if (isRoleSufficient) {
tabs.push(
{ name: "SAML SSO", key: "tab-org-saml" }
{ name: "Authentication", key: "tab-org-auth" }
);
}