diff --git a/addons/no_twitch/twitch_connection.gd b/addons/no_twitch/twitch_connection.gd index c152372..e7fdb33 100644 --- a/addons/no_twitch/twitch_connection.gd +++ b/addons/no_twitch/twitch_connection.gd @@ -86,7 +86,7 @@ func create_auth_url(scopes : Array[String] = ["chat:read", "chat:edit"], port : str_scopes += " " + all str_scopes = str_scopes.strip_edges() - var url = twitch_url + "client_id=" + id + "&redirect_uri=" + redirect + "&scope=" + str_scopes + "&state=" + str(state) + var url = twitch_url + "client_id=" + id + "&redirect_uri=" + redirect + ":" + port + "&scope=" + str_scopes + "&state=" + str(state) return url