v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
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.