diff --git a/docs/components/clerk-provider.mdx b/docs/components/clerk-provider.mdx index 848773e79a..1a5b3489c9 100644 --- a/docs/components/clerk-provider.mdx +++ b/docs/components/clerk-provider.mdx @@ -233,6 +233,13 @@ The `` component must be added to your React entrypoint. - `boolean` **Chrome Extension only** If `true`, syncs the authentication state from the web application to the Chrome Extension. Defaults to `true`. See the [dedicated guide](/docs/references/chrome-extension/syncsessionwithtab-configuration) for more information. + - `nonce?` + - `string` + + This nonce value will be passed through to the `@clerk/clerk-js` script tag. You can use this to implement [strict-dynamic CSP](/docs/security/clerk-csp#implementing-a-strict-dynamic-csp). + + --- + - `sdkMetadata?` - `{ name: string; version: string; environment?: string }` @@ -240,10 +247,31 @@ The `` component must be added to your React entrypoint. --- - - `nonce?` - - `string` + - `standardBrowser?` + - `boolean` - This nonce value will be passed through to the `@clerk/clerk-js` script tag. You can use this to implement [strict-dynamic CSP](/docs/security/clerk-csp#implementing-a-strict-dynamic-csp). + By default, ClerkJS is loaded with the assumption that cookies can be set (browser setup). On native platforms this value must be set to `false`. You don't need to set this value yourself unless you're [developing an SDK](/docs/references/sdk/overview). + + --- + + - `selectInitialSession?` + - `(client: ClientResource) => ActiveSessionResource | null` + + By default, the last active session is used during client initialization. This option allows you to override that behavior, e.g. by selecting a specific session. You don't need to set this value yourself unless you're [developing an SDK](/docs/references/sdk/overview). + + --- + + - `touchSession?` + - `boolean` + + By default, [the Clerk Frontend API `touch` endpoint](https://clerk.com/docs/reference/frontend-api/tag/Sessions#operation/touchSession) is called during page focus to keep the last active session alive. This option allows you to disable this behavior. You don't need to set this value yourself unless you're [developing an SDK](/docs/references/sdk/overview). + + --- + + - `initialState?` + - `InitialState` + + Provide an initial state of the Clerk client during server-side rendering. You don't need to set this value yourself unless you're [developing an SDK](/docs/references/sdk/overview). [components-ref]: /docs/components/overview