XMPPClient - SASLError using X-OAUTH2: not-authorized

I am attempting to migrate up to the new XMPPClient binding. The basic thing configuration is causing an error of:

2020-02-09 13:40:51.975 [INFO ] [xmppclient.handler.XMPPClientHandler] - XMPP connection error
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using X-OAUTH2: not-authorized
        at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292) ~[?:?]
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1167) ~[?:?]
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$900(XMPPTCPConnection.java:1063) ~[?:?]
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1080) ~[?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

Anyone have a clue on how to resolve this? To note, I’m trying to connect to the normal talk.google.com backend.

1 Like

Hi,

Did you find a solution?

No I have not.