auth-backend: hook up oidc router and token issuer/db
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user