Hello guys,
I am trying to create an OAuth/OpenID based authentication with the help of keycloak.
For that I have used the following adminAuth:
adminAuth: {
type: "strategy",
strategy: {
name: "Keycloak",
label: 'Sign in with KeyCloak',
icon: "fa-key",
strategy: require("@exlinc/keycloak-passport"),
options: {
host: "https://localhost:1881",
realm: "master",
clientID: "account",
clientSecret: "theSecret",
callbackURL: "/auth/strategy/callback",
authorizationURL: "https://localhost:8080/auth/realms/master/protocol/openid-connect/auth",
tokenURL: "https://localhost:8080/auth/realms/master/protocol/openid-connect/token",
userInfoURL: "https://localhost:8080/auth/realms/master/protocol/openid-connect/userinfo"
},
verify: function (accessToken, refreshToken, profile, done) {
done(null, profile);
}
},
users: [
{ username: "me@example.com", permissions: ["*"] }
]
},
The problem: When I try to get the server running I get the following message:
Error loading settings file: C:\Users\bianca.cernat.node-red-1881\settings.js
Also trying to debug, but this command gives no output
What can be the caused?