Skip to content

Commit 568a8ae

Browse files
committed
fix
1 parent 4bb41a6 commit 568a8ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

core/api/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ sdl(
140140
generator = ":write-sdl",
141141
args = ["admin"],
142142
deps_srcs = [":src"],
143-
144143
visibility = ["PUBLIC"],
145144
)
146145

core/api/src/config/env.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const env = createEnv({
123123
.pipe(z.coerce.number())
124124
.default(50052),
125125

126+
GCS_APPLICATION_CREDENTIALS_PATH: z.string().min(1).optional(),
126127
NEXTCLOUD_URL: z.string().min(1).optional(),
127128
NEXTCLOUD_USER: z.string().min(1).optional(),
128129
NEXTCLOUD_PASSWORD: z.string().min(1).optional(),
@@ -233,6 +234,7 @@ export const env = createEnv({
233234
PRICE_HISTORY_HOST: process.env.PRICE_HISTORY_HOST,
234235
PRICE_HISTORY_PORT: process.env.PRICE_HISTORY_PORT,
235236

237+
GCS_APPLICATION_CREDENTIALS_PATH: process.env.GCS_APPLICATION_CREDENTIALS_PATH,
236238
NEXTCLOUD_URL: process.env.NEXTCLOUD_URL,
237239
NEXTCLOUD_USER: process.env.NEXTCLOUD_USER,
238240
NEXTCLOUD_PASSWORD: process.env.NEXTCLOUD_PASSWORD,

dev/config/ory/oathkeeper_rules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@
106106
mutators:
107107
- handler: id_token
108108
config: #! TODO: add aud: {"aud": ["https://api/admin/graphql"] }
109-
claims: "{\"sub\": \"{{ print .Subject }}\", \"role\": \"{{ print .Extra.role }}\", \"email\": \"{{ print .Extra.user.emailr }}\" }"
109+
claims: '{"sub": "{{ print .Subject }}", "scope": "{{ print .Extra.scope }}", "role": "{{ print .Extra.role }}" }'

0 commit comments

Comments
 (0)