OAuth not working

Well,
I do the following:

Paste this url to browser

https://id.twitch.tv/oauth2/authorize?client_id=YOUR-CLIENT-ID&redirect_uri=http://localhost&response_type=code&scope=SCOPES

I remove YOUR-CLIENT-ID and insert mine
I remove SCOPES and live it blank

I press ENTER, i authenticate and then I get:
{“status”:401,“message”:“invalid csrf token”}

Also if I insert something like user:edit instead of SCOPES, I get the same error.

Any suggestion?