New Twitch API and Auth from PHP

I dont know why, but after successful login I get this messages on your page:

Parameter redirect_uri does not match registered URI

I am prettu sure, that I have it in Twitch dev console correctly (http://localhost:8000, client id, client secret etc.)