Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
e458acf
Switch all code examples to using <If /> instead of <Tabs> and record…
NWylynko Jul 25, 2025
471498f
Re-order examples to reduce diff
NWylynko Aug 8, 2025
d32fe45
delete missing.md file
NWylynko Aug 8, 2025
4404ef7
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
NWylynko Aug 13, 2025
2c855d2
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
NWylynko Sep 11, 2025
1c08319
formatting
NWylynko Sep 11, 2025
8bcfe54
Add Nuxt.js examples
NWylynko Sep 11, 2025
95efbf5
hide framework examples from js frontend
NWylynko Sep 11, 2025
21e1c79
Run formatter
NWylynko Sep 11, 2025
3006f72
Add react router examples
NWylynko Sep 11, 2025
094fa3f
starter work
SarahSoutoul Sep 11, 2025
aef9ed3
Adding code
SarahSoutoul Sep 11, 2025
6367f74
Add chrome extension examples
NWylynko Sep 12, 2025
891a3e0
Add remix examples
NWylynko Sep 12, 2025
e332276
Add tanstack examples
NWylynko Sep 12, 2025
ae70ac9
Add chrome extension examples
SarahSoutoul Sep 12, 2025
38c77b5
Fix linting
SarahSoutoul Sep 12, 2025
e074e4f
Add Expo examples
NWylynko Sep 12, 2025
2376f20
Merge branch 'nick/sdk-scoping-components-and-hooks' of github.com:cl…
NWylynko Sep 12, 2025
fd6d8e9
Run formatter
NWylynko Sep 12, 2025
d2167b4
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 12, 2025
90677a7
Fix linting
SarahSoutoul Sep 12, 2025
9b4803f
Add JS frontend examples
SarahSoutoul Sep 12, 2025
9bc110d
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 12, 2025
a88d55c
Fix build
SarahSoutoul Sep 12, 2025
e09045d
Fix if sdk changing
SarahSoutoul Sep 12, 2025
8c4d4ad
Formatting
NWylynko Sep 15, 2025
631e858
Remove Window interface declare in examples
NWylynko Sep 16, 2025
ba31904
Remove usage with frameworks
SarahSoutoul Sep 17, 2025
14e3dd6
Move example above properties
SarahSoutoul Sep 17, 2025
5c15973
Move example above properties - part2
SarahSoutoul Sep 17, 2025
62228a4
Remove js frontend for redirect components
SarahSoutoul Sep 17, 2025
aa73fe6
Remove ClerkProvider wrapping redirect components examples
SarahSoutoul Sep 17, 2025
6a2d7db
Remove main tag from examples for consistency
SarahSoutoul Sep 18, 2025
ae13f23
Add callouts chrome extension + astro for spotted issues
SarahSoutoul Sep 18, 2025
cf69268
Fix wrong component name
SarahSoutoul Sep 18, 2025
7c2a7ca
Add dots
SarahSoutoul Sep 18, 2025
deb519d
Fix conflicts
SarahSoutoul Sep 18, 2025
fdf2b8b
Add client:load directive
SarahSoutoul Sep 19, 2025
56dc62e
Remove ClerkProvider and clean up
SarahSoutoul Sep 19, 2025
706b91e
Update docs/components/control/clerk-loading.mdx
SarahSoutoul Sep 19, 2025
e5d9571
Make the react code examples standardized
NWylynko Sep 19, 2025
44393a1
Update use-organization examples to fix type issues
NWylynko Sep 19, 2025
a22255c
Remove un-used tanstack createFileRoute
NWylynko Sep 19, 2025
3734750
Fix filenames in components for react router
NWylynko Sep 19, 2025
1be7556
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
NWylynko Sep 19, 2025
d118005
formatting
NWylynko Sep 19, 2025
3dc5e1b
Use reverification
SarahSoutoul Sep 19, 2025
cc029d2
Remove unnecessary line import
SarahSoutoul Sep 22, 2025
63b4858
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 22, 2025
4410100
Small fixes for useReverification
NWylynko Sep 23, 2025
6a5cc48
Merge branch 'nick/sdk-scoping-components-and-hooks' of github.com:cl…
NWylynko Sep 23, 2025
8d1e34e
Change code examples useReverification
SarahSoutoul Sep 23, 2025
ac806f1
Remove metamask from chrome + add callout
SarahSoutoul Sep 23, 2025
997e4d1
Fix build issue
SarahSoutoul Sep 23, 2025
df05cac
fix conflicts
SarahSoutoul Sep 23, 2025
f975e70
Fix build issue
SarahSoutoul Sep 23, 2025
0067bda
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 23, 2025
9aaef63
Fix linting
SarahSoutoul Sep 23, 2025
aac1dc3
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 23, 2025
46d4bff
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 23, 2025
bd96c8e
Add expo callout for useReverification
SarahSoutoul Sep 23, 2025
80ef184
Apply suggestions from code review
SarahSoutoul Sep 23, 2025
779725e
Apply suggestions from code review
SarahSoutoul Sep 23, 2025
4564078
Update docs/components/unstyled/sign-out-button.mdx
SarahSoutoul Sep 23, 2025
90093d1
Update docs/components/unstyled/sign-out-button.mdx
SarahSoutoul Sep 23, 2025
acddece
Update docs/components/unstyled/sign-out-button.mdx
SarahSoutoul Sep 23, 2025
31b542a
Changes feedback Alexis
SarahSoutoul Sep 23, 2025
32dd655
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 23, 2025
e9f12d2
Fix build issue
SarahSoutoul Sep 23, 2025
25da246
Change the expo half supported message, remove the tip to the guide a…
NWylynko Sep 24, 2025
984c66f
Add minimum fetch() handling to all examples, remove POST method from…
NWylynko Sep 24, 2025
f957617
Switch over importing the error guard functions from @clerk/clerk-rea…
NWylynko Sep 24, 2025
7f1180b
formatting
NWylynko Sep 24, 2025
861fabb
Update example component name
NWylynko Sep 24, 2025
7e655fa
Remove returns
SarahSoutoul Sep 24, 2025
a145b3a
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 24, 2025
08c045e
Remove pages example from <ClerkLoaded />
NWylynko Sep 25, 2025
f025d8f
Rename Properties table from `GoogleOneTapProps` to Properties
NWylynko Sep 25, 2025
205c55b
Fix syntax of Properties table
NWylynko Sep 25, 2025
9996c65
Remove catch-all route from filename of remix example for google one tap
NWylynko Sep 25, 2025
62d9251
Fix links
NWylynko Sep 25, 2025
71c996c
correct expo user profile example filename from user.profile to user-…
NWylynko Sep 25, 2025
cf2b52c
Fix up the pages router nextjs example (filename, typescript, layout)
NWylynko Sep 25, 2025
7e8a7cd
formatting
NWylynko Sep 25, 2025
34fdb6a
Remove redundant line from the nextjs guide for sign up component
NWylynko Sep 25, 2025
1b103be
Add React Router, Remix, and Tanstack React Start examples for Task C…
NWylynko Sep 25, 2025
7a6e793
Remove callout
SarahSoutoul Sep 25, 2025
0a65c74
Fix linting
SarahSoutoul Sep 25, 2025
941a967
Fix the react router example for task-choose-organization
NWylynko Sep 25, 2025
0231979
Cut down the root.tsx examples to just the component that gets change…
NWylynko Sep 25, 2025
b6957d4
Change Remix code snippet to be consistent with others
SarahSoutoul Sep 25, 2025
7e3ac83
Refine expo callout
SarahSoutoul Sep 25, 2025
f948ca3
Fix remix code snippets to be consistent w each other + fixed taskcho…
SarahSoutoul Sep 25, 2025
c710eba
Merge main and fix conflicts
SarahSoutoul Sep 26, 2025
86ca2eb
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 26, 2025
6ca132e
Merge branch 'main' into nick/sdk-scoping-components-and-hooks
SarahSoutoul Sep 29, 2025
325d2e7
Remove duplicate sentence
NWylynko Oct 1, 2025
772f44d
formatting
NWylynko Oct 1, 2025
c204051
Add Feature and Plan checks for <Protect /> for Vue and Nuxt
NWylynko Oct 1, 2025
9c9630f
formatting
NWylynko Oct 1, 2025
ba0013d
Switch from {children} to <UserButton />
NWylynko Oct 1, 2025
1c8436c
Add tanstack custom sign in button example
NWylynko Oct 1, 2025
acf5257
Add various examples for sign-out-button
NWylynko Oct 1, 2025
754e7ae
Update sessionId prop of sign out button as sdks have changed
NWylynko Oct 1, 2025
ffbec1c
scope astro only prop
NWylynko Oct 1, 2025
5c21f40
move astro only props to <If />
NWylynko Oct 1, 2025
e4be57c
Add tanstack example for sign up button
NWylynko Oct 1, 2025
1f21593
update components overview
alexisintech Oct 1, 2025
cfb0809
docs review
alexisintech Oct 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_partials/expo/web-only-callout.mdx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
> [!NOTE]
> This component can be used in Expo Web projects, but won't work in native environments (iOS or Android). For native apps, use the supported native components instead.
> This component can be used in Expo Web projects, but it isn't available in native environments (iOS or Android). For native apps, build a custom UI using Clerk hooks. See [custom flows guides](/docs/guides/development/custom-flows/overview) for details.
141 changes: 141 additions & 0 deletions docs/_partials/javascript/clerk-options.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
The `load()` method accepts an optional object that accepts the following props. All props are optional.

<Properties>
- `appearance`
- <code>[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined</code>

Optional object to style your components. Will only affect \[Clerk components]\[components-ref] and not \[Account Portal]\[ap-ref] pages.

---

- `localization`
- <code>[Localization](/docs/guides/customizing-clerk/localization) | undefined</code>

Optional object to localize your components. Will only affect \[Clerk components]\[components-ref] and not \[Account Portal]\[ap-ref] pages.

---

- `routerPush?`
- `(to: string) => Promise<unknown> | void`

A function which takes the destination path as an argument and performs a "push" navigation.

---

- `routerReplace?`
- `(to: string) => Promise<unknown> | void`

A function which takes the destination path as an argument and performs a "replace" navigation.

---

- `polling`
- `boolean | undefined`

Dictates if we should poll against Clerk's backend every 5 minutes. Defaults to `true`.

---

- `selectInitialSession`
- <code>((client: \[Client]\[client-ref]) => Session | null) | undefined</code>

An optional function which allows you to control which active session is the initial session to base a user's state off of. Defaults to the first session in the client's sessions array.

---

- `standardBrowser`
- `boolean | undefined`

Controls if ClerkJS will load with the standard browser set up using Clerk cookies. Defaults to `true`.

---

- `supportEmail`
- `string | undefined`

Optional support email for display in authentication screens.

---

- `touchSession`
- `boolean | undefined`

Indicates whether the session should be "touched" when user interactions occur, used to record these interactions. Defaults to `true`.

---

- `signInUrl`
- `string | undefined`

The default URL to use to direct to when the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `signUpUrl`
- `string | undefined`

The default URL to use to direct to when the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `signInForceRedirectUrl?`
- `string`

If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `signUpForceRedirectUrl?`
- `string`

If provided, this URL will always be redirected to after the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `signInFallbackRedirectUrl?`
- `string`

The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `signUpFallbackRedirectUrl?`
- `string`

The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.

---

- `afterSignOutUrl?`
- `string`

The full URL or path to navigate to after a successful sign-out.

---

- `allowedRedirectOrigins?`
- `Array<string | RegExp>`

An optional array of domains to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console.

---

- `allowedRedirectProtocols?`
- `Array<string>`

An optional array of protocols to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console.

---

- `isSatellite`
- `boolean | ((url: URL) => boolean) | undefined`

Clerk flag for satellite apps. Experimental.

---

- `telemetry?`
- `false | { disabled?: boolean; debug?: boolean } | undefined`

Controls whether or not Clerk will collect [telemetry data](/docs/guides/how-clerk-works/security/clerk-telemetry).
</Properties>
3 changes: 3 additions & 0 deletions docs/guides/configure/auth-strategies/web3/metamask.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ description: Learn how to set up Web3 authentication with MetaMask.

Enabling [MetaMask](https://metamask.io/) as a Web3 provider allows your users to sign in and up to your Clerk application with their MetaMask wallet.

> [!IMPORTANT]
> MetaMask authentication is not supported when using the **Clerk Chrome Extension SDK**, as it cannot load third-party code per Chrome Web Store policies.

## Enable MetaMask as a Web3 provider

1. In the Clerk Dashboard, navigate to the [**Web3**](https://dashboard.clerk.com/last-active?path=user-authentication/web3) page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ As part of this major version, a number of previously deprecated props, argument
</AccordionPanel>

<AccordionPanel>
The `membershipList` param from the `useOrganization` hook has been removed. Instead, [use the `memberships` param](/docs/reference/hooks/use-organization#parameters). Examples of each can be seen here:
The `membershipList` param from the `useOrganization` hook has been removed. Instead, [use the `memberships` param](/docs/reference/hooks/use-organization#properties). Examples of each can be seen here:

```js
// before
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/secure/reverification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ The following example demonstrates how to use the [`useReverification()`](/docs/

<Tab>
```tsx {{ filename: '/src/components/TransferButton.js' }}
import { useReverification } from '@clerk/react'
import { useReverification } from '@clerk/clerk-react'

export function TransferButton({ amount_in_cents }: { amount_in_cents: number }) {
const transferMoney = useReverification(() =>
Expand Down
Loading