Antispam cookie issue while trying to get access token


(Vova Eliseev) #1

Hello, I tried to integrate the Dwolla into my site, and encountered the issue while I was following https://docsv2.dwolla.com/transfer/#account-authorization . It seems like the issue is connected to the cookies. I use PHP and and guzzle (http://docs.guzzlephp.org) to make requests, and the problem that when I try to reach any of the following urls

https://sandbox.dwolla.com/oauth/v2/authenticate?client_id={client_id}&response_type=code&redirect_uri={redirect_uri}&scope={scope}
https://sandbox.dwolla.com/oauth/v2/token

I see the antispam page with captcha. I also tried to use Postman for debugging and Postman works fine with cookie enabled, I tried to enable cookie in guzzle as well, but it didn’t work.

Can you please assist me, since I didn’t find any instructions on your site for PHP. And your new sdk swagger-php also doesn’t have any authentication logic.

Thanks.


(Vova Eliseev) #2

Actually I’m unable to make a request to the https://sandbox.dwolla.com even via curl, I’m trying to use cookies, but as a response I’m getting the cloudflare antispam page with captcha etc. Any suggestions?


(Spencer Hunter) #3

Hi @vveliseevv, Can you private message me the name of your application/business, and your IP address and I can look into getting your IP whitelisted. Thanks!