Authenticating with Twitch API using Python

Now I get: ?

error=redirect_uri_mismatch&error_description=Parameter+redirect_uri+does+not+match+registered+URI

The redirect url I entered is the same as the url set in the client id account.