We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea98155 commit 8da0af1Copy full SHA for 8da0af1
src/app.ts
@@ -186,7 +186,12 @@ export async function initApp(inOtomiStack?: OtomiStack) {
186
let server: Server | undefined
187
if (!inOtomiStack && !env.isTest) {
188
// This prevents JWT verification failures during startup
189
- await waitForJwksReady()
+ // Skip JWKS check in development mode to allow local development without Keycloak
190
+ if (!env.isDev) {
191
+ await waitForJwksReady()
192
+ } else {
193
+ debug('Skipping JWKS verification in development mode')
194
+ }
195
196
// initialize full server
197
const { PORT = 8080 } = process.env
0 commit comments