I can login with 2.7.6 but with 3.0.2 it gives the following error
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at java.lang.Thread.run(Unknown Source)
I wonder if 2.7.6 supported the SCRAM-SHA-1 authentication method. If that is not the case, then maybe this new method is now used for the first time, somehow creating a problem.
You can try to reset the password of the user that is having trouble logging in. This might correct the SCRAM-SHA-1 artifacts on the server.
Another approach is to disable SCRAM-SHA-1 support in Openfire. The downside of this is that you are disabling what is likely the strongest form of authentication in your server. You can configure the supported authentication mechanisms in Openfire’s admin console, under Server > Server Settings > Registration & Login
Another reason why this could occur is if you accidentally are trying to log into the wrong server. Even if your ‘domain’ is set correctly, Spark allows the ‘connect host’ to be manually supplied, instead of auto-detected. This is done in the ‘advanced settings’ menu. If that has been done, and you switch to another user on another account, Spark might be trying to connect to a server that doesn’t belong to the domain that was provided by the end-user.
It is a simple mistake, but would be very confusing. Ask me how I know.