Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PDOIDC and version master
Warning
iconfalse

The BankID OIDC provider previously supported iframe mode, but this has been deprecated.

Read more here: https://tools.ietf.org/html/draft-ietf-oauth-v2-23#section-10.13

Iframe mode has been blocked in CURRENT from 03.12.20.

Iframe mode will be blocked in PRODUCTION in January 2021, at earliest 04.01.20.

The BankID OIDC Provider supports web-based OIDC Client applications using browser re-direction to govern user-experience.

This includes support for app-based OIDC Client applications using web-views. The OIDC Client is in either case in control on how and where each of the involved dialoges is integrated with the OIDC Client application. The two supported user-experience alternatives are as follows: 

  • Redirect: Redirect of the entire application page
  • Window: Re-direct of a pop-up (window) from the application (mother) page

The logic governing integration modes is managed by your website. Please refer to the example libraries table on our getting started with OIDC page for more details.

A couple of notes:By default, the user interface responsiveness is enough to fit on all kinds of devices and viewport sizes, however, we offer ways to further optimize the user interface using the display parameter:

  • Optimize the user interface to be more suited for integration in mobile apps using display=touch 
  • Or, a user interface consistent with a popup (or framed) window using display=popup 

Our testing tools allows you take a further look into these integration modes

...

.

...

Using BankID OIDC in native applications

Warning
iconfalse
Web-views should not be used when

...

integrating BankID

...

in a native application.

Instead, the user should be redirected using an external user-agent .or equivalent:

Note
A secure backend server is still needed to initiate the request, store the client credentials, receive callback from BankID OIDC, session management and token exchange.
It is possible to initiate the request from the application/user-agent directly, but you probably want to build the request URL in your backend to store and generate variables like state and nonce. See getting started with OIDC for details.

How to migrate from iframe

...