mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: updated the installation id to coerce string
This commit is contained in:
@@ -7,7 +7,7 @@ import { GitHubOAuthCallbackPage } from "./GithubOauthCallbackPage";
|
||||
const GitHubOAuthCallbackPageQueryParamsSchema = z.object({
|
||||
code: z.string().catch(""),
|
||||
state: z.string().catch(""),
|
||||
installation_id: z.string().catch("")
|
||||
installation_id: z.coerce.string().catch("")
|
||||
});
|
||||
|
||||
export const Route = createFileRoute(
|
||||
|
||||
@@ -6,7 +6,7 @@ import { GithubOauthCallbackPage } from "./GithubOauthCallbackPage";
|
||||
|
||||
export const GithubOAuthCallbackPageQueryParamsSchema = z.object({
|
||||
state: z.string().catch(""),
|
||||
installation_id: z.string().catch(""),
|
||||
installation_id: z.coerce.string().catch(""),
|
||||
code: z.string().catch("")
|
||||
});
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ import { Route as secretManagerIntegrationsAwsSecretManagerConfigurePageRouteImp
|
||||
import { Route as secretManagerIntegrationsAwsSecretManagerAuthorizePageRouteImport } from './pages/secret-manager/integrations/AwsSecretManagerAuthorizePage/route'
|
||||
import { Route as secretManagerIntegrationsAwsParameterStoreConfigurePageRouteImport } from './pages/secret-manager/integrations/AwsParameterStoreConfigurePage/route'
|
||||
import { Route as secretManagerIntegrationsAwsParameterStoreAuthorizePageRouteImport } from './pages/secret-manager/integrations/AwsParameterStoreAuthorizePage/route'
|
||||
import { Route as organizationAppConnectionsGithubOauthCallbackPageRouteImport } from './pages/organization/AppConnections/GithubOauthCallbackPage/route'
|
||||
import { Route as organizationAppConnectionsGithubOauthCallbackPageRouteImport } from './pages/organization/appConnections/GithubOauthCallbackPage/route'
|
||||
import { Route as secretManagerIntegrationsVercelOauthCallbackPageRouteImport } from './pages/secret-manager/integrations/VercelOauthCallbackPage/route'
|
||||
import { Route as secretManagerIntegrationsNetlifyOauthCallbackPageRouteImport } from './pages/secret-manager/integrations/NetlifyOauthCallbackPage/route'
|
||||
import { Route as secretManagerIntegrationsHerokuOauthCallbackPageRouteImport } from './pages/secret-manager/integrations/HerokuOauthCallbackPage/route'
|
||||
@@ -5074,7 +5074,7 @@ export const routeTree = rootRoute
|
||||
"parent": "/_authenticate/_inject-org-details/ssh/$projectId/_ssh-layout"
|
||||
},
|
||||
"/_authenticate/_inject-org-details/organization/_layout/app-connections/github/oauth/callback": {
|
||||
"filePath": "organization/AppConnections/GithubOauthCallbackPage/route.tsx",
|
||||
"filePath": "organization/appConnections/GithubOauthCallbackPage/route.tsx",
|
||||
"parent": "/_authenticate/_inject-org-details/organization/_layout"
|
||||
},
|
||||
"/_authenticate/_inject-org-details/secret-manager/$projectId/_secret-manager-layout/integrations/aws-parameter-store/authorize": {
|
||||
|
||||
@@ -27,7 +27,7 @@ const organizationRoutes = route("/organization", [
|
||||
route("/identities/$identityId", "organization/IdentityDetailsByIDPage/route.tsx"),
|
||||
route(
|
||||
"/app-connections/github/oauth/callback",
|
||||
"organization/AppConnections/GithubOauthCallbackPage/route.tsx"
|
||||
"organization/appConnections/GithubOauthCallbackPage/route.tsx"
|
||||
)
|
||||
])
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user