1fd5368e by Adam Heath

First attempt to integrate with quasar.

1 parent 231841a2
......@@ -2,3 +2,4 @@ export { default as FixRacyStore } from './fix-racy-store.mjs'
export { default as oidcMiddleware, fileStoreOptions } from './oidc-middleware.mjs'
export { readEnvOptions, oidcParams, authParams, sessionParams, allParams } from './options.mjs'
export { default as AstroIntegration } from './astro-integration.mjs'
export { default as QuasarIntegration } from './quasar-integration.mjs'
......
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()))
}