mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
updates
This commit is contained in:
@@ -2,7 +2,7 @@ import { ClientTypeEnum, SubModeEnum } from '@goauthentik/api';
|
||||
import { z } from 'zod';
|
||||
|
||||
const authentikClientSpecSchema = z.object({
|
||||
secretRef: z.string(),
|
||||
server: z.string(),
|
||||
subMode: z.enum(SubModeEnum).optional(),
|
||||
clientType: z.enum(ClientTypeEnum).optional(),
|
||||
redirectUris: z.array(
|
||||
@@ -13,12 +13,6 @@ const authentikClientSpecSchema = z.object({
|
||||
),
|
||||
});
|
||||
|
||||
const authentikClientServerSecretSchema = z.object({
|
||||
name: z.string(),
|
||||
url: z.string(),
|
||||
token: z.string(),
|
||||
});
|
||||
|
||||
const authentikClientSecretSchema = z.object({
|
||||
clientId: z.string(),
|
||||
clientSecret: z.string().optional(),
|
||||
@@ -31,4 +25,4 @@ const authentikClientSecretSchema = z.object({
|
||||
jwks: z.string(),
|
||||
});
|
||||
|
||||
export { authentikClientSpecSchema, authentikClientSecretSchema, authentikClientServerSecretSchema };
|
||||
export { authentikClientSpecSchema, authentikClientSecretSchema };
|
||||
|
||||
Reference in New Issue
Block a user