mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
add logs for integration and comment out google sso
This commit is contained in:
@@ -115,6 +115,7 @@ export const syncIntegrationsHelper = async ({
|
|||||||
workspaceId: Types.ObjectId;
|
workspaceId: Types.ObjectId;
|
||||||
environment?: string;
|
environment?: string;
|
||||||
}) => {
|
}) => {
|
||||||
|
try {
|
||||||
const integrations = await Integration.find({
|
const integrations = await Integration.find({
|
||||||
workspace: workspaceId,
|
workspace: workspaceId,
|
||||||
...(environment
|
...(environment
|
||||||
@@ -156,6 +157,10 @@ export const syncIntegrationsHelper = async ({
|
|||||||
accessToken: access.accessToken,
|
accessToken: access.accessToken,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} catch (err) {
|
||||||
|
console.log(`syncIntegrationsHelper: failed with [workspaceId=${workspaceId}] [environment=${environment}]`, err) // eslint-disable-line no-use-before-define
|
||||||
|
throw err
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default function InitialSignupStep({
|
|||||||
<span className='px-4 text-sm text-bunker-400'>or</span>
|
<span className='px-4 text-sm text-bunker-400'>or</span>
|
||||||
<div className='w-1/2 border-t border-mineshaft-500' />
|
<div className='w-1/2 border-t border-mineshaft-500' />
|
||||||
</div>
|
</div>
|
||||||
<div className='lg:w-1/6 w-1/4 min-w-[20rem] rounded-md'>
|
{/* <div className='lg:w-1/6 w-1/4 min-w-[20rem] rounded-md'>
|
||||||
<Button
|
<Button
|
||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
@@ -47,7 +47,7 @@ export default function InitialSignupStep({
|
|||||||
>
|
>
|
||||||
{t("signup.continue-with-google")}
|
{t("signup.continue-with-google")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div> */}
|
||||||
<div className='lg:w-1/6 w-1/4 min-w-[20rem] text-center rounded-md mt-4'>
|
<div className='lg:w-1/6 w-1/4 min-w-[20rem] text-center rounded-md mt-4'>
|
||||||
<Button
|
<Button
|
||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ export const InitialStep = ({
|
|||||||
<span className='px-4 text-sm text-bunker-400'>or</span>
|
<span className='px-4 text-sm text-bunker-400'>or</span>
|
||||||
<div className='w-1/2 border-t border-mineshaft-500' />
|
<div className='w-1/2 border-t border-mineshaft-500' />
|
||||||
</div>
|
</div>
|
||||||
<div className='lg:w-1/6 w-1/4 min-w-[20rem] rounded-md'>
|
{/* <div className='lg:w-1/6 w-1/4 min-w-[20rem] rounded-md'>
|
||||||
<Button
|
<Button
|
||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
@@ -172,7 +172,7 @@ export const InitialStep = ({
|
|||||||
>
|
>
|
||||||
{t("login.continue-with-google")}
|
{t("login.continue-with-google")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div> */}
|
||||||
<div className='lg:w-1/6 w-1/4 min-w-[20rem] text-center rounded-md mt-4'>
|
<div className='lg:w-1/6 w-1/4 min-w-[20rem] text-center rounded-md mt-4'>
|
||||||
<Button
|
<Button
|
||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
|
|||||||
Reference in New Issue
Block a user