mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 02:27:37 +00:00
Update OauthCallbackPage.tsx
This commit is contained in:
+4
-4
@@ -408,7 +408,7 @@ export const OAuthCallbackPage = () => {
|
|||||||
credentials: {
|
credentials: {
|
||||||
code: code as string,
|
code: code as string,
|
||||||
installationId: installationId as string,
|
installationId: installationId as string,
|
||||||
host: credentials.host
|
...(credentials?.host && { host: credentials.host })
|
||||||
},
|
},
|
||||||
gatewayId
|
gatewayId
|
||||||
}
|
}
|
||||||
@@ -416,7 +416,7 @@ export const OAuthCallbackPage = () => {
|
|||||||
connectionId,
|
connectionId,
|
||||||
credentials: {
|
credentials: {
|
||||||
code: code as string,
|
code: code as string,
|
||||||
host: credentials.host
|
...(credentials?.host && { host: credentials.host })
|
||||||
},
|
},
|
||||||
gatewayId
|
gatewayId
|
||||||
})
|
})
|
||||||
@@ -432,7 +432,7 @@ export const OAuthCallbackPage = () => {
|
|||||||
credentials: {
|
credentials: {
|
||||||
code: code as string,
|
code: code as string,
|
||||||
installationId: installationId as string,
|
installationId: installationId as string,
|
||||||
host: credentials.host
|
...(credentials?.host && { host: credentials.host })
|
||||||
},
|
},
|
||||||
gatewayId
|
gatewayId
|
||||||
}
|
}
|
||||||
@@ -440,7 +440,7 @@ export const OAuthCallbackPage = () => {
|
|||||||
method: GitHubConnectionMethod.OAuth,
|
method: GitHubConnectionMethod.OAuth,
|
||||||
credentials: {
|
credentials: {
|
||||||
code: code as string,
|
code: code as string,
|
||||||
host: credentials.host
|
...(credentials?.host && { host: credentials.host })
|
||||||
},
|
},
|
||||||
gatewayId
|
gatewayId
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user