Spaces:
Runtime error
Runtime error
<html> | |
<body> | |
<div class="card" style="margin-bottom: 2rem;"> | |
<h1>OAuth in a static Space</h1> | |
<p>Checkout the <a href="https://huggingface.co/spaces/huggingfacejs/client-side-oauth/blob/main/index.html" | |
target="_blank">index.html</a> file to see the few lines of code | |
enabling this space</p> | |
<p>After clicking "Signin with HF", you will be redirected to this space and the access token + user info will | |
be displayed.</p> | |
</div> | |
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/sign-in-with-huggingface-xl-dark.svg" | |
alt="Sign in with Hugging Face" style="cursor: pointer; display: none;" id="signin"> | |
<button id="signout" style="display: none">Sign out</button> | |
<pre> | |
</pre> | |
<script type="module" src="dist/index.js"></script> | |
</body> | |
</html> |