Skip to content

Commit

Permalink
feat: basic support for MSC3861 based OIDC authentication (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns authored Nov 29, 2023
1 parent 3bf1650 commit 2135eed
Show file tree
Hide file tree
Showing 15 changed files with 864 additions and 112 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:14-alpine as builder

ARG DEFAULT_HOMESERVER

WORKDIR /files-sdk-demo

COPY .npmrc yarn.lock package.json ./
RUN yarn install --frozen-lockfile

COPY src ./src
COPY public ./public
COPY tsconfig.json webpack.config.js webpack.parts.js ./
ENV DEFAULT_HOMESERVER ${DEFAULT_HOMESERVER}
RUN yarn build

FROM nginxinc/nginx-unprivileged:1.21-alpine

COPY --from=builder /files-sdk-demo/dist /usr/share/nginx/html
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
},
"devDependencies": {
"@tsconfig/svelte": "^3.0.0",
"@types/crypto-js": "^4.1.1",
"@types/mime-types": "^2.1.1",
"@types/page": "^1.11.5",
"@types/uuid": "^8.3.4",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^6.5.1",
Expand All @@ -48,6 +50,7 @@
"@material/typography": "^13.0.0",
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.13.tgz",
"@smui/button": "^5.0.1",
"@smui/card": "^5.0.1",
"@smui/data-table": "^5.0.1",
"@smui/fab": "^5.0.1",
"@smui/icon-button": "^5.0.1",
Expand All @@ -69,13 +72,16 @@
"matrix-files-sdk": "^3.0.2",
"matrix-js-sdk": "^24.1.0",
"mime-types": "^2.1.34",
"oidc-client-ts": "hughns/oidc-client-ts#08ac93b33fd1b021b6771c80397bbc6754fa3b8c",
"page": "^1.11.6",
"svelte": "^3.49.0",
"svelte-accordion": "^0.0.0-development",
"svelte-file-dropzone": "^0.0.15",
"svelte-loading-skeleton": "^1.0.1",
"svelte-material-ui": "^5.0.1",
"svelte-preprocess": "^4.10.1",
"svelte-toasts": "^1.1.2"
"svelte-qrcode": "^1.0.0",
"svelte-toasts": "^1.1.2",
"uuid": "^8.3.2"
}
}
30 changes: 14 additions & 16 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2135eed

Please sign in to comment.