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
{{ message }}
8000
Repository navigation
How to configure Token Exchange between two different instances of KeyCloak?
#42216
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hey All, I have the following setup
--- config: theme: redux layout: dagre --- flowchart TD A["Client"] --> B["API Server A"] B --> C["API Server B"] D["Keycloak B"] B -->D C --> D D --> n1 A["Client"] --> n1["Keycloak A"] B["API Server A"] --> n1["Keycloak A"] A@{ shape: proc} B@{ shape: proc} n1@{ shape: proc} C@{ shape: proc} D@{shape: proc}in API Server A, when I try to exchange the token from Keycloak B, I'm getting this error
Here is my node.js axios request
I've added Keycloak A as an Keycloak OIDC provider in Keycloak B, and added a client in KeyCloak A to exchange the tokens, what am I doing wrong?
here is my JWT Token that the client is getting
{ "exp": 1756403078, "iat": 1756402778, "auth_time": 1756402778, "jti": "onrtac:f2805b27-cfc3-6c4d-5b72-6956f358fc55", "iss": "http://localhost:8080/realms/global_directory_realm", "aud": [ "global_directory_web", "account" ], "sub": "1c92da8f-043f-4f57-8c20-b1298b2716dd", "typ": "Bearer", "azp": "global_directory_web", "sid": "f54e4331-fad5-4368-a8fc-cd8288d1f77f", "acr": "1", "allowed-origins": [ "*" ], "realm_access": { "roles": [ "offline_access", "uma_authorization", "default-roles-global_directory_realm" ] }, "resource_access": { "account": { "roles": [ "manage-account", "manage-account-links", "view-profile" ] } }, "scope": "openid profile email", "email_verified": false, "name": "test test", "preferred_username": "test", "given_name": "test", "family_name": "test", "email": "test@test.test" }Thanks
All reactions