You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improved documentation about risk indication.
* Clarified documentation about cookies, data protection and the need to configure a persisted key store in some scenarios.
* Added an important note in the release notes about cookies introduced in version 10.1, which have been shown to cause problems for some users.
* Clarified documentation about Device Data (app and web parameters) and removed incorrect references to non-existing classes and methods.
---------
Co-authored-by: Elin Fokine <ElinO@activesolution.se>
Copy file name to clipboardExpand all lines: BREAKINGCHANGES.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,27 +25,62 @@ ___Note:___ We might, and will probably, miss to document some of this - if so -
25
25
Breaking changes between version 11.0.0 and 10.0.0
26
26
27
27
### Remove allowed risk Level
28
-
Removed support for blocking auth and sign transactions based on risk level, since no longer supported by BankID. Use return risk instead and handle risk level in your application.
28
+
Removed support for blocking auth and sign transactions based on risk level, since no longer supported by BankID.
Use return risk instead and handle risk level in your application.
29
37
```csharp
30
38
services.Configure<BankIdAuthOptions>(options=>
31
39
{
32
40
options.BankIdReturnRisk=true;
33
41
});
34
42
```
43
+
35
44
BankID provides futher information more about [Risk Indication](https://www.bankid.com/en/foretag/the-service/risk-indication).
36
45
37
46
38
47
---
39
48
40
49
50
+
## Version 10.1.0
51
+
52
+
### Important Note
53
+
Version 10.1.0 was released as a minor version and should not have introduced breaking changes. However, in practice, some users experienced issues related to the new cookie `__ActiveLogin.BankIdDeviceData`. If you encountered issues after upgrading, please review the guidance below.
54
+
55
+
### Added New Cookie for Device Data
56
+
A new Cookie `__ActiveLogin.BankIdDeviceData` was added to store information about the end user’s device. This information is sent to BankID and used for risk indication.
57
+
58
+
The cookie is long lived and persisted across sessions. Since all cookies issued by Active Login are protected using ASP.NET Core Data Protection. In certain environments (such as multi-instance deployments or containers) you may need to configure Data Protection to use a persistent key store (e.g. a shared file system, Azure Blob Storage, Redis, or SQL Server) so that cookies can be unprotected across app restarts or multiple instances.
59
+
60
+
This applies also to the existing UI State cookie in Active Login. However, since that cookie has a very short lifetime compared to the device data cookie, the risk of running in to issues related to data protection is significantly lower for that cookie.
61
+
62
+
For guidance on configuring a persistent key store, see the official documentation: [Data Protection configuration overview](https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-8.0).
63
+
64
+
65
+
---
66
+
67
+
41
68
## Version 10.0.0
42
69
43
70
Breaking changes between version 10.0.0 and 9.0.0
44
71
72
+
### Policy handling
73
+
45
74
* Remove policy handling from API library into Core
46
75
* Fall back to mobile BankID policy for OtherDevice flow
47
76
* Enum for setting policy instead of string
48
-
* Replace embedded BankID certificate for the test environment FPTestcert4_20220818.p12, with the three new versions of the client certificate FPTestcert5_20240610.p12, FPTestcert5_20240610.pem and FPTestcert5_20240610-legacy.pfx. Make it configurable which version to use. For compatibility reasons use FPTestcert5_20240610-legacy.pfx by default.
77
+
78
+
79
+
### Replaced Embedded BankID Certificate for Test Environment
80
+
81
+
Replace embedded BankID certificate for the test environment FPTestcert4_20220818.p12, with the three new versions of the client certificate FPTestcert5_20240610.p12, FPTestcert5_20240610.pem and FPTestcert5_20240610-legacy.pfx.
82
+
83
+
Make it configurable which version to use. For compatibility reasons use FPTestcert5_20240610-legacy.pfx by default.
For**webapplications**, the**DeviceIdentifier**shouldbeuniquetotheuser's browser and must not rely on a session cookie, it can be stored in a separate cookie or as a hash of one.
1150
+
The `BankIdDefaultEndUserWebDeviceDataResolver` setsaprotectedcookienamed `__ActiveLogin.BankIdDeviceData` containingaunique**DeviceIdentifier**. Thisensuresthattheidentifierpersistsacrosssessionsandrequests.
0 commit comments