
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@authenticins/widget
Advanced tools
A plug and play embedded widget for Authentic's Portal.
Add the following script tag to the <head> of your index.html file.
<script type="module" src="https://unpkg.com/@authenticins/widget@latest/dist/authenticWidget.js"></script>
Once installed, the widget script will expose controls to the browser window.
You can configure the widget's look and behavior on initialization (see the full WidgetConfig definition below).
<script>
window.addEventListener("load", () => {
window.authenticWidget.init({
portal: { url: "https://example-tenant-name.prod.authenticinsurance.com" },
prefillData: {
lead: { email: "johndoe@email.com" }
},
themeOverrides: {
primaryColor: "#000000",
borderRadiusPx: 6,
brand: {
name: "Example Brand Name",
logoUrls: {
darkBg: "https://example-tenant-website.com/logo-white.png",
lightBg: "https://example-tenant-website.com/logo-black.png"
},
faviconUrl: "https://example-tenant-website.com/favicon.ico"
}
}
});
});
</script>
interface WidgetConfig {
portal?: {
url?: string;
// The CSS selector for the target element you want the Portal injected into.
// If no target selector is provided, the widget will inject its default persistent banner and modal.
targetSelector?: string;
};
customerId?: string;
prefillData?: {
lead?: {
email?: string;
businessClassCode?: string;
stateCodes?: string[];
productIds?: string[];
};
responses?: {
exposures?: Array<{
exposureName: string;
// Where each key is a field's name mapped to its value (e.g. ['BUSINESS_LEGAL_NAME']: 'Example Business Name');
fieldValues: Record<string, string>;
}>;
// Same as format described above.
questions?: Record<string, string>;
};
};
themeOverrides?: {
useDarkMode?: boolean;
primaryColor?: string;
secondaryColor?: string;
borderRadiusPx?: number;
brand?: {
name?: string;
logoUrls?: {
darkBg?: string;
lightBg?: string;
};
faviconUrl?: string;
};
};
}
FAQs
A plug and play embedded widget for Authentic's Portal.
The npm package @authenticins/widget receives a total of 72 weekly downloads. As such, @authenticins/widget popularity was classified as not popular.
We found that @authenticins/widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.