catalinmiron / react-native-plaid-link

React Native Plaid authenticator
122 stars 56 forks source link

Plaid Link OAuth redirect flow support #45

Open Botsy opened 4 years ago

Botsy commented 4 years ago

Hello @catalinmiron ,

In our project we are using react-native-plaid-link and recently we received an email from Plaid saying the following:

As we approach June 30, we wanted to ensure that your Plaid Link implementation is configured to support OAuth. If you're using Plaid Link in a WebView or using our native iOS SDK, some Plaid Link implementation changes are needed to best support the OAuth redirect flow in mobile experiences.

My question is - Is it planned to implement the OAuth redirect flow support and if not - will react-native-plaid-link continue to work if the bank requires OAuth?

woaij007 commented 4 years ago

@Botsy Hi Botsy, did you find a solution to support the OAuth redirect in Expo project yet?

Botsy commented 4 years ago

@woaij007 Hi, unfortunately, I didn't find a solution. Tried to fork the library and customize it but I couldn't get to an end to end solution.

I guess it is quite app-specific what you want to achieve and how you want to handle the redirect within the app, since you are being redirected to the bank login page and after that back to the app. And this is where I couldn't manage to handle the redirect. Also, the whole process was ultimately slow and there was an issue with Chase bank login.

I will be happy if someone finds a way to achieve a working solution and describe the steps to implement, since Plaid documentation is not very clear on what exactly happens when and how to achieve it