feat: add OpenBao + Zitadel OIDC device-code token integration
This commit is contained in:
1 parent
d399919690
commit
9188bfc277
9 files changed
+1232
-15
No files matched your search
@@ -4,6 +4,16 @@ import { z } from "zod";
|
||||
export const flySpritesSettingsSchema = z.object({
|
||||
token: z.string().default(""),
|
||||
baseUrl: z.string().default("https://api.sprites.dev"),
|
||||
openbaoEnabled: z.boolean().default(true),
|
||||
openbaoAddr: z.string().default("https://bao.site.latha.org"),
|
||||
openbaoAuthMount: z.string().default("jwt"),
|
||||
openbaoRole: z.string().default("admin"),
|
||||
openbaoKvMount: z.string().default("secret"),
|
||||
openbaoSecretPath: z.string().default("paseo"),
|
||||
openbaoSecretKey: z.string().default("FLY_TOKEN"),
|
||||
zitadelIssuer: z.string().default("https://auth.site.latha.org"),
|
||||
zitadelClientId: z.string().default("400222693598691513"),
|
||||
zitadelScope: z.string().default("openid profile email"),
|
||||
spritePrefix: z.string().default("paseo-worker-"),
|
||||
defaultRegion: z.string().default(""),
|
||||
defaultRamMB: z.number().int().nonnegative().default(0),
|
||||
@@ -28,6 +38,16 @@ export const flySpritesSettings = defineSettings({
|
||||
export const defaultFlySpritesSettings: FlySpritesSettings = {
|
||||
token: "",
|
||||
baseUrl: "https://api.sprites.dev",
|
||||
openbaoEnabled: true,
|
||||
openbaoAddr: "https://bao.site.latha.org",
|
||||
openbaoAuthMount: "jwt",
|
||||
openbaoRole: "admin",
|
||||
openbaoKvMount: "secret",
|
||||
openbaoSecretPath: "paseo",
|
||||
openbaoSecretKey: "FLY_TOKEN",
|
||||
zitadelIssuer: "https://auth.site.latha.org",
|
||||
zitadelClientId: "400222693598691513",
|
||||
zitadelScope: "openid profile email",
|
||||
spritePrefix: "paseo-worker-",
|
||||
defaultRegion: "",
|
||||
defaultRamMB: 0,
|
||||
|
||||
Reference in new issue
Block a user