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`; }