Start Oauth
Start a new OAuth authorization session.
Returns the auth_url to redirect the user to HuggingFace.
Args: request: The incoming HTTP request. use_localhost: When True, use localhost:8000 as the OAuth callback URL. Passed by the desktop app which proxies localhost:8000 to the robot.
get/api/hf-auth/oauth/start
Query parameters
use_localhostboolean
Response
Successful Response
object required