BankID integration lets you use Swedish BankID identification in an MDriven solution; this page is for developers and deployment administrators planning the certificate requirement.
Overview
BankID is an electronic identification service used in Sweden by members of the public, authorities, and companies. In an MDriven application, plan the BankID integration as part of your authentication and authorization design.
The critical deployment requirement is that the BankID integration currently requires access to a trusted certificate store. This requirement affects where you can host the application. Confirm that the environment running the integration can use the required trusted certificate store before you begin the implementation.
Plan the hosting environment
A standard hosting choice may not meet the certificate-store requirement. Use a dedicated server, or use a hybrid hosting arrangement such as Azure App Service Environment, when it provides the required trusted certificate-store access.
For example, if your MDriven application is otherwise ready to deploy to a hosted environment, verify certificate-store support first. If the environment cannot provide the required trusted store, deploy the BankID-related workload to a dedicated server or an appropriate hybrid environment instead.
| Requirement | What you need to confirm |
|---|---|
| Trusted certificate store | The server environment that runs the BankID integration can access the trusted certificate store required by BankID. |
| Hosting model | Your chosen deployment uses a dedicated server or a hybrid solution that satisfies the certificate-store requirement. |
| Public key material | You have prepared the public key from the BankID documentation PDF in the format required for the trusted store. |
Prepare the public key
The public key that is stored in the trusted store must be created from the BankID documentation PDF. Use a text editor, such as Notepad, to create the key material from the documentation.
Do not treat this as an optional application setting. The trusted-store configuration is a deployment prerequisite. Follow the BankID documentation for the exact key content and certificate-store import procedure.
Implementation checklist
- Define where BankID fits in your application's authentication and authorization flow.
- Select a deployment environment that provides the required trusted certificate store.
- Obtain the BankID documentation PDF and create the required public-key material with a text editor.
- Store the public key in the trusted certificate store available to the environment that runs the integration.
- Deploy the MDriven application to that environment.
- Test the complete identification flow in the deployed environment, not only in local development.
This page covers the BankID-specific hosting and certificate prerequisite. For the broader approach to connecting MDriven applications with authentication services and other external systems, see Documentation:Integration.
