mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 03:26:27 +00:00
misc: made installation ID optional for github
This commit is contained in:
@@ -7,7 +7,7 @@ import { GitHubOAuthCallbackPage } from "./GithubOauthCallbackPage";
|
|||||||
const GitHubOAuthCallbackPageQueryParamsSchema = z.object({
|
const GitHubOAuthCallbackPageQueryParamsSchema = z.object({
|
||||||
code: z.coerce.string().catch(""),
|
code: z.coerce.string().catch(""),
|
||||||
state: z.string().catch(""),
|
state: z.string().catch(""),
|
||||||
installation_id: z.coerce.string().catch("")
|
installation_id: z.coerce.string().optional().catch("")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const Route = createFileRoute(
|
export const Route = createFileRoute(
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { GithubOauthCallbackPage } from "./GithubOauthCallbackPage";
|
|||||||
|
|
||||||
export const GithubOAuthCallbackPageQueryParamsSchema = z.object({
|
export const GithubOAuthCallbackPageQueryParamsSchema = z.object({
|
||||||
state: z.string().catch(""),
|
state: z.string().catch(""),
|
||||||
installation_id: z.coerce.string().catch(""),
|
installation_id: z.coerce.string().optional().catch(""),
|
||||||
code: z.coerce.string().catch("")
|
code: z.coerce.string().catch("")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user