Initial commit

This commit is contained in:
2025-11-09 10:23:23 +01:00
commit f890341ffe
34 changed files with 1058 additions and 0 deletions

26
wwwroot/oauth/index.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The Jailor auth</title>
</head>
<body>
<div id="result-text"></div>
</body>
</html>
<script type="module">
import {data} from "../core/appData.js";
try{
const urlParams = new URLSearchParams(window.location.search);
const code = urlParams.get("code");
await data.instagramTokenManager.generate(code)
document.querySelector("#code").innerText = "Authentication successful. You can close this tab";
} catch(err){
document.querySelector("#code").innerText = "Authentication failed.";
}
</script>