Skip to Content
How-to guides

Customize the hosted page

Set the logo, color, BankID text, language, help contacts, and eIDs of a sajn ID Inloggning client's login page

Each client has its own look on the hosted page. Changes apply to the next login, with no review.

Set the look

  1. In the sajn dashboard, go to Inställningar > Utvecklare > sajn ID Inloggning and open the client.

  2. Open the Utseende tab.

  3. Set the fields you need:

    FieldWhat it doesRules
    LogotypShown at the top of the page instead of the client's name.At least 300 px wide is recommended. At most 512 KB.
    FärgThe color of the button and of the time line around the QR code. Empty means black.#rrggbb. A color too light to read against white is replaced with black.
    Text i BankID-appenThe text the BankID app shows when the person approves. Empty means Logga in hos followed by the client's name, in the page language.At most 160 characters.
    Språk på inloggningssidanThe page's language for every login through this client.Svenska, English, Norsk, Dansk, or Suomi.
  4. To see the result, click Förhandsvisa. Switch between the computer and the phone view.

  5. Click Spara.

The client's name comes from Namn on the Inställningar tab.

The language setting applies unless something more specific picks another one. Your app can ask for a language per login with ui_locales, and the person can switch between Svenska and English with a link at the bottom of the page. The browser's language never changes it.

Add help contacts

The page has a help panel: Behöver du hjälp? on a computer, and Hjälp on a phone. It explains how to use BankID. Under Fungerar det ändå inte?, it can show how to reach your support.

  1. On the Utseende tab, find Hjälp för användaren.
  2. Fill in any of these fields:
    • E-post: an email address, at most 254 characters. The page shows it as a mailto: link.
    • Telefon: a phone number. A Swedish number is shown in Swedish format.
    • Hjälpsida: an https address, at most 2048 characters. It opens in a new tab.
  3. Click Spara.

Choose the eIDs

The client's eIDs decide what the hosted page offers. With more than one eID turned on, the page shows a chooser in the order you set.

  1. Open the Inställningar tab.
  2. Under E-legitimationer, turn on the eIDs the client offers, and set their order.
  3. Click Spara ändringar.

You can turn on only the eIDs that sajn has turned on for your organization. Swedish BankID is the only eID available today. Norwegian BankID, MitID, and FTN are listed with Anmäl intresse. Click it to tell sajn that your organization needs that eID. The row then shows Intresse anmält to everyone in your organization.

Your app can narrow the eIDs for one login with acr_values.

What you can't change

  • The page always runs on https://id.sajn.se. It can't be shown on your own domain or inside a frame: the page forbids framing.
  • The page's text and layout are the same for every client.

Was this page helpful?

Last updated on