latestOpenAPI 3.1.02026-08-19270462702.4 KB

b92f75fd3b61

huggingface

Create Huggingface Oauth State

Create a HuggingFace OAuth state token via the backend.

Args: request: Redirect URL payload. auth: Authenticated user context. service: HuggingFace service.

Returns: Generated state token for the frontend OAuth redirect.

post/huggingface/oauth-state

Request body

redirect_urlstring nullable

Optional post-connect redirect URL.

Response

Successful Response

state_tokenstring required

Generated state token.