Log in with Swedish BankID through Auth0

When you need to know the legal identity of your Swedish users, your choice is BankID jointly offered by the Swedish banks. The BankID technology by itself is proprietary and takes a bit of work to understand and integrate, but through Grean's easyID service you may avoid the integration trouble.

Below is an outline of the steps to get ready to accept Swedish BankID logins, but you may also view a short screen cast at Grean's website.

Process to use Swedish BankID in Production

While the technical integration complexity is simple, to use Swedish BankID in production you will have to go through a formal process to register and obtain the necessary certificate to identify yourself to your users. More on this process can be found once you sign into the easyID service, and with the help of Grean.

1. Create an account with Grean easyID

Go to grean.com/easyid and click the sign-up button.

Once registered you will be asked to create your tenant.

Create new tenant

2. Create an Application to point to Auth0

In easyID go to the APPLICATIONS tab and create a new application, a client, by clikcing the with Auth0 button. Give it a meaningful name, select the domain and remember to select the SE BankID.

Create application with Auth0

Click Save to open the next dialog

3. Name the connection (prefix) as it will appear in Auth0

If you do not run off the public Auth0 service, enter the DNS name of the login tenant. Otherwise just leave the Auth0 tenant field as is.

Secondly enter a name to be used as the prefix for the connections created in Auth0.

Auth0 connections details

Click Proceed.

4. Create new connections in Auth0

If you are not already logged in to Auth0 in this session, you will be prompted to do so in the popup window.

Once logged in you must grant Grean easyID consent to create connections and read the clients.

If you have more than one Auth0 tenant, remember to select the right one. in the dialog.

Auth0 connections details

Click the check mark in the green area at the bottom to allow Grean easyID to set up the connections.

5. Verify the connections

Go to the Connections > Enterprise section and open the ADFS connections to see the connections for Swedish BankID created from the previous steps.

One connection has been created for each kind of authentication supported by Swedish BankID: Native BankID application or mobile app. Both applications must be installed prior to BankID authentication.

ADFS connections created

Remember to enable at least one client before clicking the Try button! For more on test users see documentation on easyID.

6. Create your test users

With the above setup you will be ready to start testing. But first you must create one or more test users here: demo.bankid.com/. If you don't already have a test or real BankID, go to the section named Log in with a personal code.

7. Enable production use

To start accepting real BankID logins from real legal persons, you must first enter into a formal agreement with a Swedish Bank, possibly through Grean, or directly with you bank.

Once this agreement is in place you will receive a certificate to upload to Grean easyID.

Go to the IDENTITY SERVICES tab and open the SE BankID section.

This is where you will upload your organization's BankID certificate.

Identity Service production