Login Connect
This feature is under development, so changes may occur.
Login Connect enables a merchant to do card enrolment and card linking. Login Connect builds on the standard Login flow, a user logs in with Vipps or MobilePay and consents to share their cards with the merchant.
How to​
Login Connect is an extension of the standard Login flow, so the integration is mostly the same as a regular Login integration.
The main difference is that the merchant must request the paymentSourceReferences scope to trigger the Login Connect flow.
The user will be prompted to consent to share their cards with the merchant during the login flow:
Login Connect consent screens: an intro screen explaining the benefits ("Get benefits when you shop"), followed by a screen where the user selects which cards and accounts to share.
The userinfo response will include a payment_sources_details array, where each entry has an
external_payment_source_id identifying a payment source the user consented to share. For example:
{
"sub": "126684df-c056-4625-821d-f2905febe3f9",
"payment_sources_details": [
{
"external_payment_source_id": "a91b26e4-a833-4618-84f8-c5e2a94545bb"
},
{
"external_payment_source_id": "0736ffb6-7b12-4041-a3fd-a75ec13451ec"
},
{
"external_payment_source_id": "54f1a590-11f7-4614-bac8-dadac6cd665c"
}
]
}
or MobilePay
and consents to share their cards with the merchant.