# FirstPartyAuthorizationChallengeOptions (/docs/auth/api/interfaces/FirstPartyAuthorizationChallengeOptions)



[@kysoql/auth](/docs/auth/api) / FirstPartyAuthorizationChallengeOptions

Options for requesting a first-party Salesforce authorization challenge.

## Extends [#extends]

* [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions)

## Properties [#properties]

| Property                                               | Modifier   | Type                                                                                                                         | Description                                                                 | Inherited from                                                                                                                                             |
| ------------------------------------------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="api-property-siteurl" /> `siteUrl`              | `readonly` | `string`                                                                                                                     | Experience Cloud site base URL, including a site path when configured.      | -                                                                                                                                                          |
| <a id="api-property-parameters" /> `parameters`        | `readonly` | `Readonly`\<`Record`\<`string`, [`FirstPartyAuthorizationValue`](/docs/auth/api/type-aliases/FirstPartyAuthorizationValue)>> | Flow-specific body parameters documented by Salesforce.                     | -                                                                                                                                                          |
| <a id="api-property-bodyformat" /> `bodyFormat?`       | `readonly` | `"form"` \| `"json"`                                                                                                         | Default: form. Use json for flows such as headless registration.            | -                                                                                                                                                          |
| <a id="api-property-uvidhinttoken" /> `uvidHintToken?` | `readonly` | `string`                                                                                                                     | Optional UVID JWT access token used to carry guest-session context.         | -                                                                                                                                                          |
| <a id="api-property-accesstoken" /> `accessToken?`     | `readonly` | `string`                                                                                                                     | Optional bearer token for flows whose Experience Cloud policy requires one. | -                                                                                                                                                          |
| <a id="api-property-signal" /> `signal?`               | `readonly` | `AbortSignal`                                                                                                                | Cancels this request.                                                       | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`signal`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-signal)       |
| <a id="api-property-timeoutms" /> `timeoutMs?`         | `readonly` | `number`                                                                                                                     | Per HTTP request. Default: 30 seconds.                                      | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`timeoutMs`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-timeoutms) |
| <a id="api-property-fetch" /> `fetch?`                 | `readonly` | (`input`, `init?`) => `Promise`\<`Response`>                                                                                 | Native fetch by default. Primarily useful for tests and custom runtimes.    | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`fetch`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-fetch)         |
