Plaid.NET icon indicating copy to clipboard operation
Plaid.NET copied to clipboard

How to run Plaid Link in custom .NET applications?

Open umerfarooq381 opened this issue 4 years ago • 6 comments

I need to authenticate users' accounts using plaid API in .NET web application. I was struggling to integrate this project in my .NET 4.7 web application but I could not do so. Then I just included the Plaid.Link project in my solution and ran in the new instance in visual studio, it ran in the browser and created a local link. i.e. https://localhost:44359/. I then used it's link in my project and hit that link to create a flow to generate access link eventually. The project stores access link and access link in plaid_access_token.tmp in temp folder step by step. I understand Access token can be used after the completion of the flow to call other API end points. below screenshots are attached for all the steps.

Step 1: plaid 1

Step 2: plaid 2

Step 3: plaid 3

Step 4: plaid 4

Step 5: plaid 5

Step 6: plaid 6

I have 2 questions/ problems right now. 1- What I am doing is right or there is another better way of doings things? if yes, what steps should I follow. 2- When I run the project using above steps, it shows blue screens at the start and end of the flow. And in second step there is "Example uses Plaid to link your bank". How to avoid blue screen and change text at picture number two attached?

umerfarooq381 avatar May 23 '21 21:05 umerfarooq381

  1. Yes, that's exactly what you should be doing. The access token at the end is what you need to provide to the other APIs.
  2. So the blue screen and everything visible there are part of the html file produced by the Plaid.Test project. You have full control over those to change as you like. However, the screens where the Plaid dialog is open are subject to their control. You can review this documentation to see how to customize that screen, but the customization options are limited because Plaid controls those screen.

Hope this helps.

viceroypenguin avatar May 24 '21 23:05 viceroypenguin

@viceroypenguin, In point 2. you are saying blue screen is part of Plaid.Test. But that project is not included in my development solution. I have only imported Plaid.Link. where that blue screen is popping up from in Plain.Link project. how to go bank in my own project after creating access token. Kindly advice. Thank you.

umerfarooq381 avatar May 26 '21 19:05 umerfarooq381

I am saying that the blue screen is part of the running project. Look at the default page for your application (index.html, Index.cshtml, etc.). The text box for the plaid access token and the blue screen are on the same page, whether in the html or in the attached css. It is not part of Plaid directly, it is part of your code, so you have the ability to change it.

viceroypenguin avatar May 26 '21 19:05 viceroypenguin

Got it. But it's not in index.cshtml. Can you help me find that from where that blue screen is popping up in Plain.Link project?

umerfarooq381 avatar May 26 '21 19:05 umerfarooq381

The blue itself is probably coming from wwwroot/stylesheets/app.scss, given that it's part of the background.

viceroypenguin avatar May 26 '21 19:05 viceroypenguin

I need to authenticate users' accounts using plaid API in .NET web application. I was struggling to integrate this project in my .NET 4.7 web application but I could not do so. Then I just included the Plaid.Link project in my solution and ran in the new instance in visual studio, it ran in the browser and created a local link. i.e. https://localhost:44359/. I then used it's link in my project and hit that link to create a flow to generate access link eventually. The project stores access link and access link in plaid_access_token.tmp in temp folder step by step. I understand Access token can be used after the completion of the flow to call other API end points. below screenshots are attached for all the steps.

Step 1: plaid 1

Step 2: plaid 2

Step 3: plaid 3

Step 4: plaid 4

Step 5: plaid 5

Step 6: plaid 6

I have 2 questions/ problems right now. 1- What I am doing is right or there is another better way of doings things? if yes, what steps should I follow. 2- When I run the project using above steps, it shows blue screens at the start and end of the flow. And in second step there is "Example uses Plaid to link your bank". How to avoid blue screen and change text at picture number two attached?

hey, How you had done this? Please guide a lill bit.

MuhammadMuzammil67 avatar Dec 26 '22 18:12 MuhammadMuzammil67