You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the example in the README, no indication of needing authorizationURL is provided, but I get (truncated):
Error: authorizationURL is required
at /Users/ajmas/Development/myproject/node_modules/@exlinc/keycloak-passport/index.js:16:13
at Array.forEach (<anonymous>)
at new Strategy (/Users/ajmas/Development/myproject/node_modules/@exlinc/keycloak-passport/index.js:14:5)
at Object.initPassport (/Users/ajmas/Development/myproject/src/middleware/passport.ts:234:18)
Looking at the source of this package, I see the following:
[
'host',
'realm',
'clientID',
'clientSecret',
'callbackURL',
'authorizationURL',
'tokenURL',
'userInfoURL'
].forEach((k) => {
if (!options[k]) {
throw new Error(`${k} is required`);
}
});
Which suggests it is required, but then I see configuration.js which resolves the missing URLs, but I am not sure how it is to be used to resolve this issue?
The text was updated successfully, but these errors were encountered:
Looking at the example in the README, no indication of needing
authorizationURL
is provided, but I get (truncated):Looking at the source of this package, I see the following:
Which suggests it is required, but then I see
configuration.js
which resolves the missing URLs, but I am not sure how it is to be used to resolve this issue?The text was updated successfully, but these errors were encountered: