client-side-oauth / index.js
coyotte508's picture
coyotte508 HF staff
Update index.js
a6cffb6 verified
raw
history blame
96 Bytes
import { oauthLoginUrl } from "@huggingface/hub";
window.location.href = await oauthLoginUrl();