oidc: make clients more dynamic
This commit is contained in:
@@ -388,6 +388,10 @@ async function initializeExpressSync() {
|
||||
|
||||
app.use(oidcPrefix, oidcProvider.callback());
|
||||
|
||||
// FIXME this should come from the database
|
||||
await oidc.upsertClient(oidcProvider, 'foo', 'bar', 'https://openidconnect.net/callback');
|
||||
await oidc.upsertClient(oidcProvider, 'oidcdebugger', 'bar', 'https://oidcdebugger.com/debug');
|
||||
|
||||
// disable server socket "idle" timeout. we use the timeout middleware to handle timeouts on a route level
|
||||
// we rely on nginx for timeouts on the TCP level (see client_header_timeout)
|
||||
httpServer.setTimeout(0);
|
||||
|
||||
Reference in New Issue
Block a user