2
0

🧑‍💻 Add keycloak auth provider (#1533)

#1529
This commit is contained in:
Jeanluca
2024-05-23 10:36:30 -03:00
committed by GitHub
parent 29040c67e1
commit bb4bbd8f0e
13 changed files with 76 additions and 0 deletions

10
packages/env/env.ts vendored
View File

@ -404,6 +404,15 @@ const tolgeeEnv = {
},
}
const keycloakEnv = {
server: {
KEYCLOAK_CLIENT_ID: z.string().min(1).optional(),
KEYCLOAK_CLIENT_SECRET: z.string().min(1).optional(),
KEYCLOAK_REALM: z.string().min(1).optional(),
KEYCLOAK_BASE_URL: z.string().url().optional(),
},
}
export const env = createEnv({
server: {
...baseEnv.server,
@ -422,6 +431,7 @@ export const env = createEnv({
...customOAuthEnv.server,
...sentryEnv.server,
...telemetryEnv.server,
...keycloakEnv.server
},
client: {
...baseEnv.client,