Skip to content

Commit 7198e34

Browse files
committed
replace keycloak utils
1 parent 7129ecb commit 7198e34

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"jsonwebtoken": "^8.1.0",
5656
"jwk-to-pem": "^1.2.6",
5757
"keycloak-auth-utils": "^3.3.0",
58+
"keycloak-connect": "^3.4.1",
5859
"lodash": "^4.17.4",
5960
"pupa": "^1.0.0"
6061
},

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const got = require('got')
2-
const { GrantManager } = require('keycloak-auth-utils')
3-
const KeycloakToken = require('keycloak-auth-utils/lib/token')
2+
const GrantManager = require('keycloak-connect/middleware/auth-utils/grant-manager')
3+
const KeycloakToken = require('keycloak-connect/middleware/auth-utils/token')
44
const apiKey = require('./apiKey')
55
const cache = require('./cache')
66
const token = require('./token')

0 commit comments

Comments
 (0)