From 5987a59684ff1bdc7e55418255595a2dd65b7084 Mon Sep 17 00:00:00 2001 From: trgKai <117119807+gigaforge@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:24:53 -0800 Subject: [PATCH] Update redirecting_flow.gd Automatically close the browser response window if authentication was successful. --- addons/gift/auth/grant_flows/redirecting_flow.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/gift/auth/grant_flows/redirecting_flow.gd b/addons/gift/auth/grant_flows/redirecting_flow.gd index 7068478..82e83e1 100644 --- a/addons/gift/auth/grant_flows/redirecting_flow.gd +++ b/addons/gift/auth/grant_flows/redirecting_flow.gd @@ -54,7 +54,7 @@ func _handle_empty_response() -> void: func _handle_success(data : Dictionary) -> void: data["scope"] = data["scope"].uri_decode().split(" ") print("Success.") - send_response("200 OK", "Twitch LoginSuccess!".to_utf8_buffer()) + send_response("200 OK", "Twitch LoginSuccess!".to_utf8_buffer()) func _handle_error(data : Dictionary) -> void: var msg = "Error %s: %s" % [data["error"], data["error_description"]]