First attempt to integrate with quasar.
Showing
2 changed files
with
9 additions
and
0 deletions
... | @@ -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' | ... | ... |
src/quasar-integration.mjs
0 → 100644
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 | } |
-
Please register or sign in to post a comment