Closed willsmillie closed 8 months ago
Yeah, this is unfortunately a known issue with OAuth in the Sandbox:
At OAuth institutions, certain less frequently used customized fields may be overridden by the default values after the Link flow has completed. If this occurs, retry the configuration using a non-OAuth institution. https://plaid.com/docs/sandbox/user-custom/#configuring-the-custom-user-account
Can you try with a non-OAuth institution and see if it works?
Thank you! I had read that in the docs but was confused. I managed to get it working with the following code.
Thanks for the quick response!
const institutionId = "ins_109512"; // Houndstooth Bank
let initialProducts = ["transactions", "investments"]; // must include transactions to receive transactions webhooks
const publicTokenRequest = {
institution_id: institutionId,
initial_products: initialProducts,
options: {
override_username: "custom_test",
override_password: "canBeAnything",
},
};
try {
const publicTokenResponse = await plaid.client.sandboxPublicTokenCreate(
publicTokenRequest
);
Hello, i'm having trouble getting the Sandbox custom users to work.
Upon creating a link item, I see the correct accounts which coorespond to my custom user JSON config.
However upon completing the Plaid Link flow, the incorrect accounts are returned...
Any suggestions would be greatly appreciated!
This is the config i'm using: