How to take token for chat's conversation?

Thank you for your answer.

I called URL to take token. like below
https://api.twitch.tv/kraken/oauth2/authorize?client_id={client_id}&redirect_uri={webapplicationuri}&response_type=code&scope=chat_login
This URL is User Access Token.
But I had same result.
(message.data = :tmi.twitch.tv NOTICE * :Login authentication failed)

Do I have something problem?