Examples of using Inget, a development environment and simulator for BankID. The code is compatible with many BankID environments, including
- the official test environment,
- the official production environment,
- the public hosted version of Inget, and
- the local version of Inget.
See Inget docs for more information (in Swedish).
You need to have the latest LTS version of Node installed. If you use the devcontainer, this is already done for you.
npm install
We recommend using the devcontainer. This will ensure that you have the same environment as we do.
While we develop and test in Linux the most, we run CI on Windows and macOS too. This includes running tests against the local version of Inget on all platforms.
BankID integration in Javascript and Node, using the simulated Inget BankID environment as well as the official BankID environments.
A web app using Alpine.js that acts as a playground for the BankID integration.