Set stream title and game in Python

I’m using the OIDC Authorization Code Flow (ID Tokens and User Access Tokens) one.
Setting the scope as parameter still gives me 400 Bad request.

EDIT: I’m missing the redirect URI, so that’s probably my issue. I really don’t remember what was my URL when I registered my app, so I’m trying to figure out how to get that.