Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
astro-oidc-middleware
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1fd5368e
authored
2024-09-23 16:39:20 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
First attempt to integrate with quasar.
1 parent
231841a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
src/index.mjs
src/quasar-integration.mjs
src/index.mjs
View file @
1fd5368
...
...
@@ -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'
...
...
src/quasar-integration.mjs
0 → 100644
View file @
1fd5368
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()))
}
Please
register
or
sign in
to post a comment