quasar-integration.mjs 317 Bytes
import 'dotenv/config'
import oidcMiddleware, { fileStoreOptions } from './oidc-middleware.mjs'
import { allParams } from './options.mjs'

export default async (options) => {
  const { app, port, resolve, publicPath, folders, render, serve } = options
  app.use(await oidcMiddleware(fileStoreOptions, allParams()))
}