Can Oauth be used with amqp10 lib?

prashantk2000 Member Posts: 33 ✭✭
edited January 2023 in PubSub+ Event Broker #1

I am connecting my nodejs based application to solace broker using OAuth & mqtts protocol. I am using solclientjs API and which is working perfect. Now I am trying to connect using amqps protocol in same application and using amqp10 package however I am unable to connect it. As per the doc I am creating the uri as 'amqps://<user name>:<access token>@broker-host:5671?amqp.saslMechanisms=XOAUTH2'.

But this is not working. Any suggestions? Please share if any sample is available.




This discussion has been closed.