🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Can Oauth be used with amqp10 lib?

prashantk2000
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.

Thanks

Tagged:

Answers

This discussion has been closed.