Hi, I am new to keycloak, and i was struggling on how to initiate a token exchange request.
I have a openid client A configured in Realm A. My requirement is to exchange the token i recieved from client A, to get the token from client B configured in Realm B.
I was trying out the examples for external to internal token exchange. And i had configured the client A as an oidc in Realm B and executing the below cURL:
curl -L -X POST ‘https://localhost:8000/auth/realms/realmB/protocol/openid-connect/token’
-H ‘Content-Type: application/x-www-form-urlencoded’