
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@haus-tech/bankid-auth-plugin
Advanced tools
The BankID Auth Plugin is a Vendure plugin that integrates BankID authentication into your e-commerce platform. BankID is a secure and widely used electronic identification system, primarily in Sweden, that allows users to authenticate themselves online.
The BankID Auth Plugin is ideal for:
To install the BankID Auth Plugin, follow these steps:
Install the plugin package:
yarn add @haus-tech/bankid-auth-plugin
Or, if using npm:
npm install @haus-tech/bankid-auth-plugin
Add the plugin to your Vendure configuration in vendure-config.ts:
import { BankidAuthPlugin } from '@haus-tech/bankid-auth-plugin';
export const config = {
plugins: [
BankidAuthPlugin.init({
bankidApiUrl: 'https://api.bankid.com',
clientCert: '/path/to/client-cert.pem',
clientKey: '/path/to/client-key.pem',
}),
],
};
Restart your Vendure server.
The plugin does not provide a direct UI-based configuration. Instead, it is configured programmatically in the Vendure configuration file.
The plugin provides the following REST endpoints:
POST /api/bankid/initiate: Starts a BankID session.POST /api/bankid/authenticate: Authenticates a user based on an order reference.POST /api/bankid/cancel: Cancels an ongoing BankID session.To integrate BankID authentication into your storefront, use the provided REST endpoints. For example:
fetch('/api/bankid/initiate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ endUserIp: '192.168.1.1' }),
})
.then((res) => res.json())
.then((data) => {
console.log(data);
});
yarn test to execute the e2e tests.Make sure you are logged in to NPM.
Build the plugin:
yarn build
Publish the plugin:
yarn publish
FAQs
Support for authentication via Swedish BankID
We found that @haus-tech/bankid-auth-plugin 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.