-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth.html
35 lines (32 loc) · 1.22 KB
/
auth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<title>Authenticating...</title>
<style>
body {
background-color: #000;
color: #fff;
}
</style>
</head>
<body>
<h1>Almost Done!</h1>
Go back to the main window, and click the "Get oauth from popup" button, and then you can close this window.
<!--<p>
Please enter the following information<br>
<br>
Channel to join: <input type="text" id="channel-name"><br>
This is so you can use an account that is not your broadcaster account to send messages from.<br>
<br>
<input type="button" onclick="sendTwitchData()" value="Authenticate">
</p>
<script>
function sendTwitchData() {
var data = window.location.hash;
data += "&channel_to_join=" + document.getElementById("channel-name").value;
window.location.hash.startsWith("#")) ?
window.opener.postMessage("twitchOauth" + data, "*") :
window.opener.postMessage("twitchOauth#" + data, "*")
}
</script>-->
</body>
</html>