The Backend Instance object
- Name
-
allowedOrigins - Type
null | string[]- Description
For browser-like stacks such as browser extensions, Electron, or Capacitor.js, the instance allowed origins need to be updated with the request origin value. For Chrome extensions popup, background, or service worker pages the origin is
chrome-extension://extension_uiid. For Electron apps using@clerk/electron, the origins are the custom renderer scheme registered withcreateClerkBridge(), for examplemy-app://renderer, and, during development, the renderer's dev server origin, for examplehttp://localhost:5173. For Capacitor.js, the origin iscapacitor://localhost.
Feedback
Last updated on