auth-backend: hook up oidc router and token issuer/db

This commit is contained in:
Patrik Oldsberg
2020-06-19 18:10:35 +02:00
parent adc574ee33
commit ca9a2ddf1a
4 changed files with 26 additions and 3 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ import { PluginEnvironment } from '../types';
export default async function createPlugin({
logger,
database,
config,
}: PluginEnvironment) {
return await createRouter({ logger, config });
return await createRouter({ logger, config, database });
}