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' ...@@ -2,3 +2,4 @@ export { default as FixRacyStore } from './fix-racy-store.mjs'
2 export { default as oidcMiddleware, fileStoreOptions } from './oidc-middleware.mjs' 2 export { default as oidcMiddleware, fileStoreOptions } from './oidc-middleware.mjs'
3 export { readEnvOptions, oidcParams, authParams, sessionParams, allParams } from './options.mjs' 3 export { readEnvOptions, oidcParams, authParams, sessionParams, allParams } from './options.mjs'
4 export { default as AstroIntegration } from './astro-integration.mjs' 4 export { default as AstroIntegration } from './astro-integration.mjs'
5 export { default as QuasarIntegration } from './quasar-integration.mjs'
......
1 import 'dotenv/config'
2 import oidcMiddleware, { fileStoreOptions } from './oidc-middleware.mjs'
3 import { allParams } from './options.mjs'
4
5 export default async (options) => {
6 const { app, port, resolve, publicPath, folders, render, serve } = options
7 app.use(await oidcMiddleware(fileStoreOptions, allParams()))
8 }