Which auth flow are you trying to use?
If you’re using the Implicit auth flow you should get a token in the URL hash. With the Auth Code flow you get a code which you must exchange for access and refresh tokens. And the Client Credentials flow is for App tokens, which are not usable for connecting to chat with as they don’t represent a user.