Posted: Sun Sep 15, 2024 12:47 am Post subject: Implementing OAuth2.0 in IBM Integration Bus (IIB)
Newbie
Joined: 14 Sep 2024 Posts: 1
Hello, I need to pass a username and password to request a token from a token endpoint. Then I need to add this bearer token to the request header when accessing the service endpoint.
Does anyone know how to implement this that can help me? Thanks.
Probably you need to consume first the token endpoint throught an http request, and in the outputroot headers you neeed to set the Authorization headear to the Basic user:pass.
If this is sucessful, then you need to take the token and put it as the outputroot headers Authorization and set to "Bearer " || tokenObteained, so you can consume with this the web services you need.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum