'unable to authenticate keycloak from express api gateway
I have a keycloak latest version and have created a realm and client respectively. I am trying to access the same from express-api-gateway using the plugin express-gateway-keycloak. Below is the data that i have given in the system.config.yml file
plugins:
express-gateway-keycloak:
package: express-gateway-keycloak
keycloakConfig:
realm: "sssssssssss"
bearer-only: true
auth-server-url: "https://8.19.162.190:8443/auth/"
ssl-required: none
client-id: "client"
confidential-port: 0
I am able to access the same if i give the data of older version of keycloak which is hosted in http. Whatever i try i always end up getting "access denied" from the express api gateway.I am stuck kindly help
Ans :
It seems the keycloak config needed a public key. after passing that i was able to access the auth server
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
