34 lines
880 B
HTML
34 lines
880 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>授权成功</title>
|
||
|
<link
|
||
|
rel="stylesheet"
|
||
|
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.jade.min.css"
|
||
|
>
|
||
|
<style>
|
||
|
body {
|
||
|
height: 100vh;
|
||
|
width: 100vw;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<span aria-busy="true">授权成功, 正在跳转回原网页...</span>
|
||
|
<div style="display: none">
|
||
|
<input type="hidden" id="redirect_uri" value="{{ .redirect_uri }}"/>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
setTimeout(() => {
|
||
|
console.log('[D] after 1s console')
|
||
|
let redirect_uri = document.getElementById('redirect_uri').value
|
||
|
window.location.href = redirect_uri
|
||
|
}, 1000)
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|