From 304169574b5e96d769f4813623b8f12dd625b7c0 Mon Sep 17 00:00:00 2001 From: Vadim Bauer Date: Tue, 11 Jun 2024 10:01:39 +0200 Subject: [PATCH 01/12] Update wise.md Add SCA related section --- docs/integrations/builtin/credentials/wise.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 88ab906bc..60515d8f6 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -38,3 +38,29 @@ The following video demonstrates the steps mentioned above. + +## Personal Token SCA + +When making a request to an SCA protected endpoint, a 403 Forbidden HTTP status code is returned. +SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. + +If SCA is required an error similar ot below returnd from Wise: + +> This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See https://api-docs.transferwise.com/#strong-customer-authentication-personal-token + + +To enable signing a token we need to create and add a public and private key and add the public key to wise. In user [profile settings](https://wise.com/settings/public-keys). + +As a first step we need to generate an RSA key pair: + +```sh +$ openssl genrsa -out private.pem 2048 +$ openssl rsa -pubout -in private.pem -out public.pem +``` +With the generated keys, we now need to add them to n8n and Wise. + +- Add the content of the public key `public.pem` to your Wise user [profile settings](https://wise.com/settings/public-keys). +- Add the content of the private key `private.pem` to your n8n Wise Credential under `Private Key (Optional)` + + + From 3b22fb5d53eae7499d8f6894b3ac25094fe71122 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:06:11 +0100 Subject: [PATCH 02/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 60515d8f6..d15252734 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -41,7 +41,7 @@ The following video demonstrates the steps mentioned above. ## Personal Token SCA -When making a request to an SCA protected endpoint, a 403 Forbidden HTTP status code is returned. +When making a request to an SCA protected endpoint, Wise returns a 403 Forbidden HTTP status code. SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. If SCA is required an error similar ot below returnd from Wise: From cc835cdf0646adf926f4bfef070ee316a90cd429 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:07:00 +0100 Subject: [PATCH 03/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index d15252734..2bb7d9e2d 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -41,7 +41,7 @@ The following video demonstrates the steps mentioned above. ## Personal Token SCA -When making a request to an SCA protected endpoint, Wise returns a 403 Forbidden HTTP status code. +When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. If SCA is required an error similar ot below returnd from Wise: From c5c1633c41763a76f6c925ffe451b820b323f49a Mon Sep 17 00:00:00 2001 From: Vadim Bauer Date: Tue, 11 Jun 2024 11:08:34 +0200 Subject: [PATCH 04/12] Update docs/integrations/builtin/credentials/wise.md Co-authored-by: Deborah --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 2bb7d9e2d..5d2f23381 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -44,7 +44,7 @@ The following video demonstrates the steps mentioned above. When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. -If SCA is required an error similar ot below returnd from Wise: +If SCA is required, Wise returns an error similar to below : > This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See https://api-docs.transferwise.com/#strong-customer-authentication-personal-token From 64e7e2ae206b55ab1c8689d36d4b156e0fd71321 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:08:40 +0100 Subject: [PATCH 05/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 5d2f23381..267635e8f 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -49,7 +49,7 @@ If SCA is required, Wise returns an error similar to below : > This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See https://api-docs.transferwise.com/#strong-customer-authentication-personal-token -To enable signing a token we need to create and add a public and private key and add the public key to wise. In user [profile settings](https://wise.com/settings/public-keys). +To enable signing a token you need to create and add a public and private key. Add the public key to Wise in user [profile settings](https://wise.com/settings/public-keys){:target=_blank .external-link}. As a first step we need to generate an RSA key pair: From 2ad87a70925645c7f690d5f4a7bf5cf40acb2e59 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:08:56 +0100 Subject: [PATCH 06/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 267635e8f..a6271a4c6 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -44,7 +44,7 @@ The following video demonstrates the steps mentioned above. When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. -If SCA is required, Wise returns an error similar to below : +If SCA is required, Wise returns an error similar to below: > This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See https://api-docs.transferwise.com/#strong-customer-authentication-personal-token From 3a21bdd788fd21b3e6779a2579e912d09052d531 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:09:14 +0100 Subject: [PATCH 07/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index a6271a4c6..8cabd3a3a 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -51,7 +51,7 @@ If SCA is required, Wise returns an error similar to below: To enable signing a token you need to create and add a public and private key. Add the public key to Wise in user [profile settings](https://wise.com/settings/public-keys){:target=_blank .external-link}. -As a first step we need to generate an RSA key pair: +To generate an RSA key pair: ```sh $ openssl genrsa -out private.pem 2048 From 831a51f24b82de6279e3569ac5286b3d9efd640d Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:09:33 +0100 Subject: [PATCH 08/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 8cabd3a3a..0801af139 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -57,7 +57,7 @@ To generate an RSA key pair: $ openssl genrsa -out private.pem 2048 $ openssl rsa -pubout -in private.pem -out public.pem ``` -With the generated keys, we now need to add them to n8n and Wise. +With the generated keys, add them to n8n and Wise: - Add the content of the public key `public.pem` to your Wise user [profile settings](https://wise.com/settings/public-keys). - Add the content of the private key `private.pem` to your n8n Wise Credential under `Private Key (Optional)` From c4297e9714ee7995514fb912e6017a1760487cbc Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:10:06 +0100 Subject: [PATCH 09/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 0801af139..c4d61824f 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -59,7 +59,7 @@ $ openssl rsa -pubout -in private.pem -out public.pem ``` With the generated keys, add them to n8n and Wise: -- Add the content of the public key `public.pem` to your Wise user [profile settings](https://wise.com/settings/public-keys). +- Add the content of the public key `public.pem` to your Wise user [profile settings](https://wise.com/settings/public-keys){:target=_blank .external-link}. - Add the content of the private key `private.pem` to your n8n Wise Credential under `Private Key (Optional)` From c910c67b5681764f56f916de40e6e3c565968a2b Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:10:32 +0100 Subject: [PATCH 10/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index c4d61824f..ee4f3419a 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -60,7 +60,7 @@ $ openssl rsa -pubout -in private.pem -out public.pem With the generated keys, add them to n8n and Wise: - Add the content of the public key `public.pem` to your Wise user [profile settings](https://wise.com/settings/public-keys){:target=_blank .external-link}. -- Add the content of the private key `private.pem` to your n8n Wise Credential under `Private Key (Optional)` +- Add the content of the private key `private.pem` to your n8n Wise Credential under **Private Key (Optional)**. From c0ad52eb8978a91ff80c2c7af0407f29c880850d Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:18:15 +0100 Subject: [PATCH 11/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index ee4f3419a..10392adf0 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -42,7 +42,7 @@ The following video demonstrates the steps mentioned above. ## Personal Token SCA When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. -SCA is required on Get Statements, and Funds transfer request. It is disabled when using test endpoints. +SCA is required on some operations. Refer to [Wise documentation | Strong Customer Authentication & 2FA](https://docs.wise.com/api-docs/features/strong-customer-authentication-2fa) for details. It is disabled when using test endpoints. If SCA is required, Wise returns an error similar to below: From 933c06c7951e2b0f83d74caf6f99863573620604 Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 11 Jun 2024 10:18:41 +0100 Subject: [PATCH 12/12] Update docs/integrations/builtin/credentials/wise.md --- docs/integrations/builtin/credentials/wise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/wise.md b/docs/integrations/builtin/credentials/wise.md index 10392adf0..51625d916 100644 --- a/docs/integrations/builtin/credentials/wise.md +++ b/docs/integrations/builtin/credentials/wise.md @@ -42,7 +42,7 @@ The following video demonstrates the steps mentioned above. ## Personal Token SCA When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. -SCA is required on some operations. Refer to [Wise documentation | Strong Customer Authentication & 2FA](https://docs.wise.com/api-docs/features/strong-customer-authentication-2fa) for details. It is disabled when using test endpoints. +SCA is required on some operations. Refer to [Wise documentation | Strong Customer Authentication & 2FA](https://docs.wise.com/api-docs/features/strong-customer-authentication-2fa){:target=_blank .external-link} for details. It is disabled when using test endpoints. If SCA is required, Wise returns an error similar to below: