0 Replies Latest reply on Dec 8, 2018 2:51 PM by jawed31

    secure ORDS webservice in weblogic problem


      curl -i -k http://localhost:8080/ords/test/test/dept/10

      i created authentication by

      OAuth 2 : Client Credentials

      and client id and client secret created

      when i called this access token generated and it works by this way

      curl -i -k --user QmhjrMV4d1yG8gnzPdqUjQ..:JcSa-cyEYux78LogMFMSPQ.. --data "grant_type=client_credentials" http://localhost:8080/ords/test/oauth/token

      curl -i -k -H"Authorization: Bearer 3FWKQRnEdlX3F7t2iijHEQ.." http://localhost:8080/ords/test/test/dept/10

      when i am trying to call it same thing in weblogic the response 401 unauthorized but when i removed the authentication it works.

      curl -i -k --user QmhjrMV4d1yG8gnzPdqUjQ..:JcSa-cyEYux78LogMFMSPQ.. --data "grant_type=client_credentials" http://ip:7005/ords/test/oauth/token


      please help me.