Deprecations

This is a list of the active deprecation warnings in BankID OIDC along with end of life dates.

Please review this list regularly to ensure your systems are up to date in order to avoid any service interruptions.

Removal of implicit flow support

Deprecated:  

End of Life: Q1 - 2024 (TBA)

We are completely removing support for implicit flow in our platform. This feature has long been discouraged and always been a restricted (R10) feature in BankID OIDC.

Removal of realm_access in access tokens

Deprecated:  

End of Life: Q3 - 2023 (TBA)

We are cleaning up usage of Realm Roles in our platform which impacts the realm_access claims in Access Tokens. From now on only resource_access claim is relevant for roles assigned to a user.

This change is mostly relevant to resource servers and not applicable for most merchants.

Removal of jwks_uri_enc and encryption of login_hint 

Deprecated:  

End of Life: Q3 - 2023 (TBA)

The BankID OIDC proprietary encryption of the login_hint is replaced with the OIDC standard encryption of a request object.

BankID OIDC supports encrypted request object parameter in the authorization request. BankID OIDC also supports encrypted login_hint as an authorization request query parameter. 

Instead of encrypting the login_hint using keys from the jwks_uri_enc endpoint, the login_hint should be added as a cleartext parameter to the request object and the request object should be encrypted using keys from the jwks_uri endpoint.

See details in jwk

Lowercased token_type in Token response 

Deprecated:  

End of Life: Q2 - 2022 (TBA)

The token response claim token_type has wrongly been lowercased "bearer". This is being corrected to "Bearer" as per the documentation.

Make sure your system can handle capitalized token_type in the Token response. For example, some openid client libraries use this value later for Authorization etc.

The new token response will then look like this:

{
    "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3VkZaSVp2UlBOY1lSUUZUcEQ4MHVJaElpVVB4WUNkaEtoUjZudjJDQnJnIn0.eyJleHAiOjE2MjkyODYzNTcsImlhdCI6MTYyOTI4NjA1NywiYXV0aF90aW1lIjoxNjI5Mjg1OTk4LCJqdGkiOiI2MzE5M2JlYS0zYzA3LTRhNGQtODY3YS02NWJjYzk3MDQ2NDgiLCJpc3MiOiJodHRwczovL2F1dGguY3VycmVudC5iYW5raWQubm8vYXV0aC9yZWFsbXMvY3VycmVudCIsImF1ZCI6InRpbmZvIiwic3ViIjoiMmNkN2NlY2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-T7Dyc6gr_UIY8tyoA3Lh7rXtnzxybL8a4rWDHAACp5VSFLRLS_61yumrB4g5AwJvdj0MF6ngJzHj2XyF0Eu3MdfA",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJjMWJjNDkyYy1jNDYwLTQ1ZWItYTQ5Yi1hYjAxY2IyZGJkOGIifQ.eyJleHAiOjE2MjkyODc4NTcsImlhdCI6MTYyOTI4NjA1NywianRpIjoiNTM2NjI5ZTgtZWIzZS00MmY1LTgxYTAtMmUzZWJiZTI2ZGM3IiwiaXNzIjoiaHR0cHM6Ly9hdXRoLmN1cnJlbnQuYmFua2lkLm5vL2F1dGgvcmVhbG1zL2N1cnJlbnQiLCJhdWQiOiJodHRwczovL2F1dGguY3VycmVudC5iYW5raWQubm8vYXV0aC9yZWFsbXMvY3VycmVudCIsInN1YiI6IjJjZDdjZWNkLWQ0NDQtNDY4NS1iYjA0LThiYmZkYjQ1YTA2OSIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJvaWRjLXRlc3RjbGllbnQiLCJub25jZSI6ImRlbW9Ob25jZSIsInNlc3Npb25fc3RhdGUiOiI2NjgwMWNlZi03NzQ2LTRkZDYtYTAxOC00M2JkYTVjNzAwMmIiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIn0.LwE6_mB1JSIF9EfjlP5cQeoQjvnGTzxtaVR2Qae4WIM",
    "token_type": "Bearer",  <---- changed from "bearer"
    "id_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3VkZaSVp2UlBOY1lSUUZUcEQ4MHVJaElpVVB4WUNkaEtoUjZudjJDQnJnIn0.eyJleHAiOjE2MjkyODYzNTcsImlhdCI6MTYyOTI4NjA1NywiYXV0aF90aW1lIjoxNjI5Mjg1OTk4LCJqdGkiOiI1NDM5NjM5Mi0wZDdkLTQ0OTUtYjZlMy0xYTQ5NjZ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XRhcnlMaW1pdEN1cnJlbmN5IjoiTk9LIiwiY2VydFZhbGlkVG8iOjE2OTIzNTI2MjAwMDAsInZlcnNpb25OdW1iZXIiOiIzIiwic3ViamVjdE5hbWUiOiJDTj1CYW5rSURcXCwgVGVzdCBVc2VyLE89VGVzdEJhbmsxIEFTLEM9Tk8sU0VSSUFMTlVNQkVSPTk1NzgtNjAwMC00LTYzNDU4MiJ9LCJ0aWQiOiIxMWRhYzNiMi04NGEzLTRjODQtOGQ5ZC1hODE5YzkwNmI3ODIifQ.olwtV8Hr7X-t-pcBx-4m8pj9BBQhkkxgD_dJo8NTV-MefnZljVGfXOSmXURo2H0OmLCFvMst_KXmuIw9XWVd_djl-EQACkD1Tu4ABT6T-kT8EvRU61JFrLGD5iypKAf3y91UJS3wUS6Mkxj273ITBPZa6tqLeugL712GaQoyDllEEluFfXrV7-MUTRt9f80b_rfY9mq8wpw84mycKUukJGZOqpBRgiME_i2WiFdAqEgqU3zNrCEW90NecBHF8xGgGQvD34dCn1djVImrYKeTxb7wNAxH-lUUVw4jB-51yIHV6fzfLixYz6eDpYjq0hlTRXo0sEoV-tpDuh7HmbV94A",
    "not-before-policy": 0,
    "session_state": "66801cef-7746-4dd6-a018-43bda5c7002b",
    "scope": "openid profile"
}


Token claim session_state is being replaced by sid

Deprecated:  

End of Life: Q2 - 2022 (TBA)

Today, all tokens will have both sid and session_state claims representing the same value (GUID related to session handling).

session_state will soon be removed from all tokens so make sure you do not depend on this claim. Use sid claim if you depend on this value.

Deprecated:  

End of Life: TBA

Inclusion of BankID OpenID Connect service in an iframe is not a recommended practice for integrating BankID.

In an effort to minimize attack vectors for phishing and clickjacking attacks and the situational blocking of third party cookies in major browsers we have decided to not recommend using iframe on the BankID OIDC platform.

Decision criteria

  • End-users can easily verify that they are on a legit BankID OIDC merchant by verifying the domain in the address bar.

  • End-users meet the BankID OIDC client through a standardized BankID OIDC user interface.

  • BankID OIDC wish to follow best industry practice that states that end-users should not be encouraged to authenticate through embedded forms (i.e. iframe and web-views).

  • Third-party cookies are required when using BankID OIDC via iframe. Browser vendors have worked actively to stop tracking of end-users across domains. This causes technical difficulties and bad end-user experiences.

  • When using iframe, there are a bigger risk that intruders can hijack the client via external scripts or browser plugins and thus phish information, change links or track the end-user.

What alternative integration modes are available?

Alternative integration modes are available to replace iframe, respectively window and redirect mode. In redirect mode, the browser redirects the user to our domain. In window mode, the browser opens a new window to our domain.

How can I customize the user interface for BankID OIDC?

Merchants can provide a name and a logo that is displayed when the client is loaded in window or redirect mode. The logo must have dimensions 150x30 px, file format PNG and a maximum file size of 10 kB. The logo can be sent to Vipps through our customer portal by creating a new issue, and then uploading the logo as an attachment on a comment after the issue has been created.

Ses our test client, https://util.bankidnorge.no/oidc-testclient/ , in window or redirect mode for an example of how this looks.

What about BankID Server?

This notice is only relevant for BankID OIDC. We encourage our partners that use BankID server to consider alternative integration modes for their solutions, but there is no plans to deprecate iframe on BankID Server.

Who may I contact for questions?

See support, if you have any further questions.