I use this repo as a placeholder callback URL for OAuth apps.
<script> { const h3 = (t) => { const el = document.createElement("h3"); el.textContent = t; return el; } const pre = (t) => { const el = document.createElement("pre"); const code = document.createElement("code"); code.textContent = t; el.appendChild(code); return el; } document.getElementById("result").appendChild(h3("Query:")); document.getElementById("result").appendChild(pre( JSON.stringify( Object.fromEntries(new URLSearchParams(window.location.search)), null, 2 ) )); document.getElementById("result").appendChild(h3("Hash:")); document.getElementById("result").appendChild(pre( JSON.stringify( Object.fromEntries(new URLSearchParams(window.location.hash.replace(/^#/, ""))), null, 2 ) )); } </script>rayriffy / oauth_gateway Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dtinth/oauth_gateway
I use this repo as callback URLs for OAuth apps