Implemented Redirect Port fully

This commit is contained in:
Eroax 2023-12-08 03:15:32 -07:00
parent 9b22f6b5c0
commit 3c40c1da66

View file

@ -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