mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
patch NoTwitch to pass scopes after client ID (temporary)
This commit is contained in:
parent
b04c2c4be7
commit
7718811a64
|
@ -59,7 +59,7 @@ func cache_user_data():
|
|||
|
||||
## Handles the basic Twitch Authentication process to request and then later receive a Token (using [method check_auth_peer]).
|
||||
## Returns the authentication URL.
|
||||
func authenticate_with_twitch(scopes : Array[String] = ["chat:read", "chat:edit"], client_id = client_id) -> String:
|
||||
func authenticate_with_twitch(client_id = client_id, scopes : Array[String] = ["chat:read", "chat:edit"]) -> String:
|
||||
auth_server = TCPServer.new()
|
||||
var url := create_auth_url(scopes)
|
||||
auth_server.listen(int(redirect_port))
|
||||
|
|
Loading…
Reference in a new issue