packages/chrome-extension/docs/manifest.md
All Browser Extensions require, at minimum, the following configuration:
{
"permissions": ["storage"]
}
More info on the "storage" permission: Google Developer Storage Reference.
When syncing with a host application, you must enable the following permissions:
{
"permissions": ["cookies", "storage"]
}
More info on the "cookies" permission: Google Developer Cookies Reference.
More info on the "storage" permission: Google Developer Storage Reference.
You must enable the following host permissions in your manifest.json file. This will allow the extension to communicate with the host application.
{
"host_permissions": [
"http://localhost/*"
"https://<YOUR_PRODUCTION_APP_DOMAIN>/*",
"https://YOUR_CLERK_DEVELOPMENT_FRONTEND_API.clerk.accounts.dev/*",
"https://<YOUR_CLERK_PRODUCTION_FRONTEND_API>/*"
]
}
Notes:
/* at the end of each host_permission. Feel free to later scope this down, if your usage sees fit.YOUR_PRODUCTION_APP_DOMAIN and YOUR_CLERK_PRODUCTION_FRONTEND_API are only required when you're ready to go to production.Your Frontend API URLs can be found in Clerk Dashboard under the Show API URLs option.