From 7880797677bbc29715b251f3db677faa578111f5 Mon Sep 17 00:00:00 2001 From: Olof Bokedal Date: Tue, 26 Mar 2019 06:53:09 +0100 Subject: [PATCH] Changed to new BankID endpoints. Changes made according to the description in https://www.bankid.com/assets/bankid/rp/bankid-relying-party-guidelines-v3.2.1.pdf. --- lib/BankID.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/BankID.js b/lib/BankID.js index e7f518f..bb3f1a6 100644 --- a/lib/BankID.js +++ b/lib/BankID.js @@ -134,7 +134,7 @@ class BankID { * @return {string} - The API-url for the current environment. */ static buildBankIDApiUrl (env) { - const uri = (env === 'production') ? 'appapi.bankid.com' : 'appapi.test.bankid.com'; + const uri = (env === 'production') ? 'appapi2.bankid.com' : 'appapi2.test.bankid.com'; return `https://${uri}/rp/v4?wsdl`; }