Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plaid Oauth redirect_uri is not configured error

Tags:

python

plaid

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 https://plaid.com/docs/#oauth-redirect-uris

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': 'http://locahost:3005/landing-rc-solo/link-bank'

})

Would you know what's the issue here?

Thanks a lot for your help!

like image 849
Cyzanfar Avatar asked Sep 03 '25 16:09

Cyzanfar


1 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.

like image 102
Wale Avatar answered Sep 05 '25 05:09

Wale