Using authentication token in conn.connect(jid,

56 views
Skip to first unread message

Ali Shirvani

unread,
Apr 7, 2020, 10:41:50 AM4/7/20
to Strophe
Hi all,

According to the documentation it is possible to use token based authentication. Here is the link to docs.
My question is the meaning of "node" in "If a node is not supplied, SASL OAUTHBEARER ..." scentence.
Does it mean that I should call conn.connect with empty jid?

Regards,
Ali

JC Brand

unread,
Apr 8, 2020, 2:31:50 AM4/8/20
to str...@googlegroups.com
No, the node is the first part of a JID, before the @. So you should still pass in the domain.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Ali Shirvani

unread,
Apr 8, 2020, 9:29:57 AM4/8/20
to str...@googlegroups.com
Thanks for your helpful response.

--
You received this message because you are subscribed to the Google Groups "Strophe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strophe+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strophe/E4ECF08A-FC73-4A35-996F-5E53D94AA777%40opkode.com.
Reply all
Reply to author
Forward
0 new messages