27 lines
894 B
Markdown
27 lines
894 B
Markdown
---
|
|
title: Signing in...
|
|
comments: false
|
|
template: main.html
|
|
hide:
|
|
- navigation
|
|
- toc
|
|
- footer
|
|
---
|
|
|
|
<div id="oauth-callback-status" style="text-align: center; padding: 3rem 1rem;">
|
|
<p style="font-size: 1.1rem;">Completing sign in...</p>
|
|
<p style="color: var(--md-default-fg-color--light); font-size: 0.875rem;">You will be redirected back to the page you were on.</p>
|
|
</div>
|
|
|
|
<script>
|
|
// The docs-comments.js widget handles the OAuth callback automatically.
|
|
// This page just provides a loading state while the code exchange happens.
|
|
// If JS is disabled or the exchange fails, show a fallback message.
|
|
setTimeout(function() {
|
|
var el = document.getElementById('oauth-callback-status');
|
|
if (el && !sessionStorage.getItem('docs-comment-gitea-token')) {
|
|
el.innerHTML = '<p>Sign in failed or timed out.</p><p><a href="/">Return to documentation</a></p>';
|
|
}
|
|
}, 10000);
|
|
</script>
|