OAuth - Invalid application credentials


(Tomer S) #1

I’m trying to use the OAuth flow from this URL: https://developers.dwolla.com/guides/receive-money/01-direct-onboarding.html but keep getting the following response:
{“error”:“access_denied”,“error_description”:“Invalid application credentials.”}
I’m not entirely sure why this is happening but I suspect it has to do with the values of client_id in Step A and client_key and client_secret in Step B. Those are 3 different variables, but in my Applications listed on my profile, I only have a Key and a Secret. Where does the ID come from?
Thanks!


(Spencer Hunter) #2

Hey @Tomer_S, Your application Key and Secret is equivalent to client_id and client_secret. I would double check to see if those values are correct in your request and that you are calling the right environment (Sandbox vs. production).

You should be POSTing to https://uat.dwolla.com/oauth/v2/token for the Sandbox and https://www.dwolla.com/oauth/v2/token for production.


(Tomer S) #3

Wow, I was pinging ‘https://dwolla.com/oauth/v2/token’ /without/ the ‘www’. Once I added that it worked like magic. Thanks!