Begin Oauth
One-shot OAuth entry point for the mobile setup flow.
Creates a session and 302-redirects the browser straight to Hugging Face's authorize page, so the phone only has to open this single URL. The existing /oauth/callback finishes the job (exchange → store token → start relay).
get/api/hf-auth/oauth/begin
Response
Successful Response
{"stackTrail":"paths:/api/hf-auth/oauth/begin:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 2 of the 26 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲