Desmond202k's picture
{
ab3a92f verified
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-50">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HuggingAuth OAuth Wizard</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
500: '#FFD21E',
},
secondary: {
500: '#7DD3FC',
}
}
}
}
}
</script>
</head>
<body class="h-full">
<div class="min-h-full flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-1">
<div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<div class="px-4 py-6 sm:px-0">
<div class="border-4 border-dashed border-gray-200 rounded-lg p-8">
<div class="text-center">
<i data-feather="key" class="w-16 h-16 text-primary-500 mx-auto"></i>
<h2 class="mt-4 text-3xl font-bold text-gray-900">HuggingFace OAuth Configuration</h2>
<p class="mt-2 text-lg text-gray-600">Use this wizard to configure your OAuth integration with HuggingFace</p>
<div class="mt-8 bg-white shadow overflow-hidden sm:rounded-lg">
<div class="px-4 py-5 sm:px-6 bg-gray-50">
<h3 class="text-lg leading-6 font-medium text-gray-900">OAuth Endpoints</h3>
</div>
<div class="border-t border-gray-200">
<dl>
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">Authorization Endpoint</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">https://huggingface.co/oauth/authorize</dd>
</div>
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">Token Endpoint</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">https://huggingface.co/oauth/token</dd>
</div>
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">User Info Endpoint</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">https://huggingface.co/oauth/userinfo</dd>
</div>
</dl>
</div>
</div>
<div class="mt-8">
<a href="#" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
Get Started
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
</div>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>