Skip to content

Commit

Permalink
Added working openid-client
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed May 4, 2024
1 parent faef3c2 commit fa0c15a
Show file tree
Hide file tree
Showing 7 changed files with 1,747 additions and 1,381 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@jsr:registry=https://npm.jsr.io
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const Ajv = require('ajv/dist/jtd');
const {URL} = require('url');
const {Issuer, generators} = require('openid-client');
const {Issuer, generators} = require('@etherpad/node-openid-client');

let logger = {};
for (const level of ['debug', 'info', 'warn', 'error']) {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"homepage": "https://github.com/ether/ep_openid_connect#readme",
"dependencies": {
"@etherpad/node-openid-client": "npm:@jsr/etherpad__node-openid-client@^0.1.0",
"ajv": "^8.11.0",
"openid-client": "^5.1.5"
},
Expand Down
Loading

0 comments on commit fa0c15a

Please sign in to comment.