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!