diff --git a/docs/references/chrome-extension/sync-host.mdx b/docs/references/chrome-extension/sync-host.mdx index 547c22ecba..592ccce0fe 100644 --- a/docs/references/chrome-extension/sync-host.mdx +++ b/docs/references/chrome-extension/sync-host.mdx @@ -91,6 +91,34 @@ Clerk allows you to sync the authentication state from your web app to your Chro } ``` + ### Hide unsupported authentication methods + + When using the Sync Host feature, authentication methods that you want to use in your web app [may not be fully supported in the Chrome Extension environment](/docs/references/chrome-extension/overview#authentication-options). To hide unsupported methods in your Chrome Extension, you can use the [`appearance`](https://clerk.com/docs/customization/overview) prop with your extension's `` and `` components as demonstrated in the following examples. + + ", ""]}> + ```tsx {{ filename: 'src/popup/pages/sign-up.tsx', mark: [[3, 7]] }} + + ``` + + ```tsx {{ filename: 'src/popup/pages/sign-in.tsx', mark: [[3, 7]] }} + + ``` + + ## Configure `host_permissions` `host_permissions` specifies which hosts, or websites, will have permission to sync auth state with your app. It accepts an array, allowing you to add more than one host.