Error in OAuth flow (Invalid client configuration. refer to OAuth doc at....)

(Swathi Reddy) #1

Hello Dwolla,

Am using sandbox evnironment.

Trying to generate access token through c# code. But, keep on getting “Invalid client configuration” error in the first step itself.

(Spencer Hunter) #2

Hey @Swathi_reddy, This is somewhat a generic error, however your app will want to check all of the values specified in the initial OAuth request. When checking the values in your initial OAuth request, here are a few things to keep in mind:

  • client id: Does the client_id belong to a valid application created in the environment you are calling?
  • code: Does the response_type parameter equal the string value code?
  • redirect uri: Does the redirect_uri value match the value set in the OAuth Redirect URL field in your application’s settings?
  • scope: Does your application have the requested scopes enabled?

The auth url will look like this:
The token url will look like this:

(Cory Anderson) #3

(Cory Anderson) #4

(Cory Anderson) #5