CAA WS – Web Services using Oauth

Clovertech Forums Cloverleaf CAA WS – Web Services using Oauth

  • Creator
    Topic
  • #116832
    vikas bisht
    Participant

      The case is, we need to send messages to Web Server over HTTPS. On first message (OAuth with client credentials grant type and user name /password) we need to get an authentication token on a external Authentication Web Server . This server send us our token and we need to use it in all next requests. This token is dynamic and had expiration (Token expires every 24 hours ) . if token expire or response like invalid/expire token then we need to call Authentication Web Server again to get another token an resend message.

      Please share if you have some example related to this.

    Viewing 0 reply threads
    • Author
      Replies
      • #116834
        Rob Abbott
        Keymaster

          Hi Vikas, here is a sample BOX containing a sample oauth2 configuration that we plan to ship in 20.1 and future patches to 19.1.   It contains a word doc that explains things so you’ll want to review that after you import and extract the box.

           

          Thank you

          Attachments:
          You must be logged in to view attached files.

          Rob Abbott
          Cloverleaf Emeritus

          • #118061
            vikas bisht
            Participant

              Hi Rob,

              We have implemented this and it is/was working as expected but we are facing delay issue (10-15 sec) in Cloverleaf to reach from Prewrite Procs to TPS Inbound reply in both case e.g. if we have token or first time at the time of token request.

              Thank you.

              Regards

              Vikas

              • This reply was modified 4 years, 3 months ago by vikas bisht.
              Attachments:
              You must be logged in to view attached files.
            • #118096
              Rob Abbott
              Keymaster

                It looks to me like the delay is in the web service call, how long does the server take to process and respond to the request?

                Rob Abbott
                Cloverleaf Emeritus

          Viewing 0 reply threads
          • You must be logged in to reply to this topic.