Files
ukaiautomation/google-oauth-callback.php
Peter Foster ed5336bf1f SEO fixes: author bylines, 2025 dates, phone removal, case studies, Companies House
- Assign named authors to all 14 blog articles that defaulted to Editorial Team
- Replace team-based author labels (DevOps Team, Legal Team etc) with named authors
- Update 2025 -> 2026 in ecommerce trends, buyers guide, and python pipeline titles
- Remove phone number (01692 Norfolk) from all pages and schema
- Anonymise unverifiable case study clients (TechElectronics UK, Heritage Bank UK)
- Add clickable Companies House link (08576932) to footer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 09:42:53 +00:00

35 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>Google OAuth Callback</title>
<style>
body { font-family: Arial, sans-serif; max-width: 800px; margin: 40px auto; padding: 20px; }
.code { background: #f5f5f5; padding: 15px; border-radius: 5px; font-family: monospace; word-break: break-all; }
.success { color: green; font-weight: bold; }
.error { color: red; }
</style>
</head>
<body>
<h1>Google OAuth Callback</h1>
<?php
if (isset($_GET['code'])) {
$code = htmlspecialchars($_GET['code']);
echo '<p class="success">✅ Google authorization successful!</p>';
echo '<p>Paste this code back into the terminal:</p>';
echo '<h3>Authorization Code:</h3>';
echo '<div class="code">' . $code . '</div>';
} elseif (isset($_GET['error'])) {
$error = htmlspecialchars($_GET['error']);
$desc = isset($_GET['error_description']) ? htmlspecialchars($_GET['error_description']) : '';
echo '<p class="error">❌ OAuth Error: ' . $error . '</p>';
if ($desc) echo '<p>' . $desc . '</p>';
} else {
echo '<p class="error">❌ No code received.</p>';
}
?>
</body>
</html>