REST Consumer (RDP) OAuth JWT Authentication

onkar1712
onkar1712 Member Posts: 5

Hi All,

I am trying to configure service account authentication from solace REST consumer using OAuth JWT Authentication as specified here: https://docs.solace.com/Configuring-and-Managing/Managing-RDPs.htm#managing_rest_messaging_1948951837_1004979. My HTTP endpoint is Cloud Run service in Google Cloud Platform and needs service account authentication.

Now this authentication method is not available in the Solace Broker Management console. There are only HTTP Basic, Client Certificate, and HTTP Header. Now to configure OAuth/OAuth JWT Authentication I need solace CLI which is accessible on doing SSH to the broker machine (why?). So, I SSH to Solace broker as specified here https://docs.solace.com/Solace-CLI/Using-Solace-CLI.htm and I could log in (Although, I could not find .pem, .ppk file to avoid putting password every time). After logging into the broker machine, I am not able to put in the commands mentioned in the documentation to create an OAuth JWT token and use it for authenticating the service (REST endpoint). Here is what I see after SSH into the broker machine

Comments

  • onkar1712
    onkar1712 Member Posts: 5

    Here is what I see after SSH into the solace broker. I cant enter the commands for solace.

  • JamilAhmed
    JamilAhmed Member, Employee Posts: 20 Solace Employee
    edited July 2021 #3

    Hi @onkar1712, the feature to connect a REST consumer with OAuth JWT is not available in your version 9.6.
    Can you upgrade your brokers to the latest of 9.9?

    Also just spotted your current broker as being Solace Cloud hosted. Unfortunately the highest version available to deploy there is 9.8 and so OAuth JWT option not available yet.

  • anithamartin
    anithamartin Member Posts: 4

    @JamilAhmed - Is OAuth JWT available with version - 9.10.0.21 ?

  • JamilAhmed
    JamilAhmed Member, Employee Posts: 20 Solace Employee

    Sorry @anithamartin, missed your response till now. Solace Cloud now supports service deployments at version 9.10 of the Event Broker, so yes, you are good to use OAuth JWT with those services.