Plaid Oauth redirect_uri is not configured error

I am trying to implement OAuth with Plaid-Link but keep on getting this error on the server-side:

plaid.errors.InvalidRequestError: OAuth redirect URI must be configured in the developer dashboard. See 

I am running my application locally (sandbox mode), I have a backend server running on localhost:8000 and the client-side application running on localhost:3005

I have configured in the developer dashboard the redirect URLs (see image here)

I am using the Python SDK, here is an example of the CreateLink call in my server:

response = client.LinkToken.create({ 'user': { 'client_user_id': str(client_user_id), }, 'client_name': 'XYZ Corporation', 'products': ['auth'], 'country_codes': COUNTRY_CODES, 'language': 'en', 'redirect_uri': ' }) 

Would you know what's the issue here?

Thanks a lot for your help!

1

2 Answers

Basically, since you're on localhost and just for development's sake, what I did was to remove the redirect altogether. If this is fine for you then the error should go.

2

Assuming you haven't made a silly mistake like adding the redirect_uri to the developer dashboard for a different client_id, that all seems right to me. Would you mind filing a ticket with Plaid support so someone with the right access can dig into this a bit more closely?

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like