ActiveLogin.Authentication.BankId.AspNetCore 12.0.0 (original) (raw)

ActiveLogin.Authentication enables an application to support Swedish BankID (svenskt BankID) authentication in .NET. Built on NET Standard and packaged as NuGet-packages they are easy to install and use on multiple platforms.

Free to use, commercial support and training is available if you need assistance or a quick start.

Sample usage

Sample usage of the ASP.NET authentication module.

Development

services
    .AddBankId(bankId =>
    {
        bankId.UseSimulatedEnvironment();
    });

services
    .AddAuthentication()
    .AddBankIdAuth(bankId =>
    {
        bankId.AddSameDevice();
    });

Production

services
    .AddBankId(bankId =>
    {
        bankId
            .AddApplicationInsightsEventListener(options =>
            {
                options.LogUserPersonalIdentityNumberHints = true;
                options.LogCertificateDates = true;
            })
            .UseProductionEnvironment()
            .UseClientCertificateFromAzureKeyVault(Configuration.GetSection("ActiveLogin:BankId:ClientCertificate"))
            .UseQrCoderQrCodeGenerator();
    });

services
    .AddAuthentication()
    .AddBankIdAuth(bankId =>
    {
        bankId
            .AddSameDevice()
            .AddOtherDevice();
    });

Full documentation

For full documentation and samples, see the Readme in our GitHub repo.

Active Login

Active Login is an Open Source project built on .NET that makes it easy to integrate with leading Swedish authentication services like BankID.

https://www.activelogin.net/

Active Solution

Active Login is built, maintained and sponsored by Active Solution. Active Solution is located in Stockholm (Sweden) and provides IT consulting with focus on web, cloud and AI.

https://www.activesolution.se/

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed.

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
12.0.0 8,526 3/6/2026
12.0.0-beta.1 256 2/2/2026
11.1.3 9,444 12/18/2025
11.1.2 3,140 11/21/2025
11.1.1 4,303 10/14/2025
11.1.0 2,018 9/19/2025
11.1.0-rc-1 158 9/12/2025
11.0.0 2,579 8/15/2025
11.0.0-rc-2 188 4/25/2025
11.0.0-rc-1 307 3/7/2025
10.1.0 14,058 1/23/2025
10.1.0-rc-1 174 1/21/2025
10.0.1 12,653 10/18/2024
10.0.0 1,183 9/27/2024
10.0.0-rc-2 359 8/27/2024
10.0.0-rc-1 255 8/23/2024
10.0.0-beta-1 194 4/30/2024
9.0.0 12,599 4/30/2024
9.0.0-rc-1 213 4/18/2024
8.0.0 9,646 2/21/2024