mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Patch self-hosted gitlab integration
This commit is contained in:
@@ -15,6 +15,7 @@ import { IntegrationAuthMetadata } from "../models/integrationAuth/types";
|
||||
interface Update {
|
||||
workspace: string;
|
||||
integration: string;
|
||||
url?: string;
|
||||
teamId?: string;
|
||||
accountId?: string;
|
||||
metadata?: IntegrationAuthMetadata
|
||||
@@ -63,6 +64,10 @@ export const handleOAuthExchangeHelper = async ({
|
||||
workspace: workspaceId,
|
||||
integration
|
||||
};
|
||||
|
||||
if (res.url) {
|
||||
update.url = res.url;
|
||||
}
|
||||
|
||||
switch (integration) {
|
||||
case INTEGRATION_VERCEL:
|
||||
|
||||
@@ -423,6 +423,7 @@ const exchangeCodeGitlab = async ({
|
||||
accessToken: res.access_token,
|
||||
refreshToken: res.refresh_token,
|
||||
accessExpiresAt,
|
||||
url
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user