In order to connect/send to chat as userX you must have a valid user token of userX.
So userX must have gone thru the oAuth flow and you must use the token for userX.
This isn’t “incorrect”
Just TMI ignored the username and used the username from the oAuth token