Can Oauth be used with amqp10 lib?

prashantk2000
Mon, 12 Dec 2022 14:51:44 +0000
Solace Event Broker

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://:@broker-host:5671?amqp.saslMechanisms=XOAUTH2’.
But this is not working. Any suggestions? Please share if any sample is available.
Thanks

2 posts - 1 participant