latestSwagger 2.02026-08-20196638916.1 KB

23d8982b533d

Connectivity v1.Provider
BETA

Get the authentication options for a given provider

(DEPRECATED) Retrieves the available authentication options for a provider if it has more than one available.

DEPRECATED: This endpoint is deprecated and will be removed. End-of-life: 31 December 2026 23:59:59 UTC.

get/api/v1/provider-authentication-options/{providerName}

Path parameters

providerNamestring required

The provider name for which you want to get the authentication options.

Response

A successful response.

providerNamestring

Example response

{
  "authenticationOptionsGroups": [
    {
      "authenticationOptions": [
        {
          "default": false,
          "displayText": "Open Mobile Bank ID app in another device.",
          "fields": [],
          "helpText": "Indicates the user wants to open use the Mobile Bank ID application in another device.",
          "name": "SE_MOBILE_BANKID_OTHER_DEVICE",
          "supportedChannels": [
            "SUPPORTED_CHANNEL_MOBILE",
            "SUPPORTED_CHANNEL_DESKTOP"
          ]
        },
        {
          "default": true,
          "displayText": "Open Mobile Bank ID app.",
          "fields": [
            {
              "description": "Social security number",
              "hint": "YYYYMMDDNNNN",
              "immutable": true,
              "maxLength": 12,
              "minLength": 12,
              "name": "username",
              "numeric": true,
              "pattern": "^(?:(?:(?:(?:19|20)(?:0[48]|[2468][048]|[13579][26]))|2000)0229|(?:(?:19|20)[0-9]{2}(?:(?:(?:0[13578]|1[02])(?:[123]0|[012][1-9]|31))|(?:(?:0[469]|11)(?:[123]0|[012][1-9]))|02(?:[12]0|[012][1-8]|[01]9))))[0-9]{4}$",
              "patternError": "Please enter a valid social security number."
            }
          ],
          "helpText": "Indicates the user wants to use the Mobile Bank ID application in their current device.",
          "name": "SE_MOBILE_BANKID_SAME_DEVICE",
          "supportedChannels": [
            "SUPPORTED_CHANNEL_MOBILE"
          ]
        }
      ],
      "displayText": "Choose where do you want to authenticate.",
      "helpText": "Used to specify in which device the user wants to open their Mobile Bank ID app.",
      "name": "SE_MOBILE_BANKID_DEVICE_CHOICE"
    }
  ],
  "providerName": "se-swedbank-ob"
}