Skip to content

5.0.0

Compare
Choose a tag to compare
@PeterOrneholm PeterOrneholm released this 28 Apr 11:54
· 101 commits to main since this release

With the release 5.0.0 of ActiveLogin.Authentication we bring new features, bug fixes, and improved documentation.
Most important we now support the latest API version from BankID, including features such as animated QR code and user visible data.

We are happy to celebrate that we know have passed 375 000 downloads on NuGet!

Since 4.1.0 we have:

9 people contributed to this release.

News

Major features and changes in this release

  • Support version 5.1 of BankID REST API
  • Support BankID animated QR code in UI
  • Support BankID user data in UI
  • Upgrade to .NET 6
  • Separate site for documentation
  • Drop support for GrandID

Features & Improvements

  • Support version 5.1 of BankID REST API #275, #311
  • Breaking change: Support BankID animated QR code in UI #276, #356
  • Breaking change: Upgrade to .NET 6 #324, #248, #321, #333
  • Breaking change: Use DefaultAzureCredentials when accessing KeyVault #297, #325, #338, #342
  • Upgrade to Duende.IdentityServer in samples #273
  • Add support for userVisibleData, userNonVisibleData, userVisibleDataFormat on auth #328
  • Allow for custom claims issuing #350, #351
  • Use latest version of ActiveLogin.Identity #330, #341
  • Use System.Text.Json #200, #345
  • Separate site for docs #329
  • Docs improvements #326, #249
  • Separate demo site #346, #327
  • Breaking change: Drop support for GrandID #323

Bugfixes & Refactorings

  • Fix broken samples #331, #332, #334
  • Breaking change: Issue correct exp claim #351

DevOps & Misc

  • Add CodeQL Code Scanning #317, #306
  • Build & Release with GitHub Actions #318, #343, #348
  • Add support for devcontainer and GitHub Codespaces #307, #259, #276
  • Use GitHub Discussions instead of Slack #308
  • Add security policy #305, #319, #344
  • Change default branch from master into main #310
  • Fix Readme for NuGet.org #291, #312
  • Add monitoring dashboards to samples #296
  • Breaking change: Remove built in support for Birthdate and Gender claim #352

Breaking changes

For a full list of breaking changes, see all issues/PR:s prefixed with Breaking change: above. Most of them should go unnoticed, but a few might have bigger impact.

Upgrade to .NET 6

We now require .NET 6 for the UI parts - so this requires you to upgrade your website that uses Active Login.

Support BankID animated QR code in UI

When implementing the animated QR code, we have had to update the client side script in LoginScript.cshtml. Look at the Git history for this file if you want to see the exact changes. This is only a breaking change if you have overridden this file with your own imlpementation.

Use DefaultAzureCredentials when accessing KeyVault

If using Azure KeyVault for your certificate, we have made chamges to how you authenticate/access that. See the documention for how it should be configured now.

Drop support for GrandID

When we created Active Login we added support for BankID directly as well as through Svensk E-identitet (GrandID). At the time we had cases where we were using both so it was natural to support them both. As time has gone by we see that basically, all new cases for us use the "native" BankID provider so that's where we have focused our efforts in Active Login.

We have reached the point where it is not possible for us to support the GrandId packages anymore as part of this open-source project. In the end, we have just so much time that we want to spend where we think it benefits the most users, and the download counts on NuGet tell this is the native BankID parts.

See more details in this announcement.

Issue correct exp claim

We previously issued an incorrect exp claim. This is now issued correctly, but might be a breaking change for you.

Remove built in support for Birthdate and Gender claim

The Birthdate and Gender claim are not issued by the library, but we have added docs on how to issue them yourself.

Feedback

If you find any bugs or have feedback in general. Please file an issue!

Thanks

Thanks to the community for providing code, testing and feedback!
Extra thanks to @joanro123 for choosing to do your internship with us and helping out with the development of this release!