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.
Query parameters
Response
Successful Response
Changes
Changed in 2 of the 26 revisions of this API.13
- ○
added the new optional
queryrequest parameteruse_localhostnew-optional-request-parameter
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ●
deleted the
queryrequest parameteruse_localhostrequest-parameter-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●