DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Datapower integration with backend API with OAUTH 1.0

  • 1.  Datapower integration with backend API with OAUTH 1.0

    Posted Fri November 22, 2024 02:54 PM

    Hello Datapower Experts,

    I am trying to integrate backend endpoint Mastercard that uses Oauth 1.0. I have the private key and consumer key now how can I generate the below HTTP Header Authorization in DataPower and send it to Mastercard. 

    Mastercard Developers

    Mastercard remove preview
    Mastercard Developers
    View this on Mastercard >



    Authorization: OAuth
        oauth_body_hash="94cOcstEzvTvyBcNV94PCbo1b5IA35XgPf5dWR4OamU=",
        oauth_nonce="32lqGrI0f0nQEW85",
        oauth_signature="MhfaStcHU0vlIoeaBLuP14(...)qqd99lI56XuCk8RM5dDA%3D%3D",
        oauth_consumer_key="aXqayIybNdwMnzGIZMAkQYSq(...)139a87746d5b00000000000000",
        oauth_signature_method="RSA-SHA256",
        oauth_timestamp="1558370962",
        oauth_version="1.0"


    ------------------------------
    solomon reddy
    ------------------------------