BingAds / BingAds-PHP-SDK

Other
56 stars 45 forks source link

usage of ClientSecret is not working #78

Closed pentium10 closed 6 years ago

pentium10 commented 6 years ago

Where is this field being used?

final class AuthHelper {
    const ClientSecret = 'ClientSecretGoesHere'; 

https://github.com/BingAds/BingAds-PHP-SDK/blob/master/samples/V12/AuthHelper.php#L47

how do we obtain a client secret?

as whatever we setup in here, even if we delete the field, the code works, and the authorization flow is not working we keep getting:

Error: invalid_client Description: The provided request must include a 'client_secret' input parame ter.

eric-urban commented 6 years ago

@pentium10 closing as duplicate of doc issue 368.