Hello guys, I am trying to fix this for 4 hours now so I really hope you can help me...
I am using keycloak as an Identity Provider to acces my editor.
I modified my settings.js file as described in this post here.
adminAuth: {
type: "strategy",
strategy: {
name: "keycloak",
label: 'Sign in',
icon: "fa-lock",
strategy: require("passport-keycloak-oauth2-oidc").Strategy,
options: {
clientID: "account",
realm: 'master',
publicClient: "false",
clientSecret: "deleted",
sslRequired: "none",
authServerURL: "http://localhost:8080/auth",
callbackURL: "http://localhost:1881/auth/strategy/callback",
verify: function (token, tokenSecret, profile, done) {
done(null, profile);
}
},
},
users: [
{ username: "user", permissions: ["*"] }
]
},
My keycloak configurations are:
Realm name: master
Client config:
When I go to my app on localhost:8080 and click Sign in I get the following error:
What I am doing wrong, I tried multiple changing the authServerURL and callbackURL 100 times but no success.
Thank you!