mashery / masherytools

6 stars 10 forks source link

[Question]How correctly fill the credentials.js file? #13

Closed dracorp closed 4 years ago

dracorp commented 4 years ago

Hello Every time when I use this tool I get invalid_client and:

GET /javascripts/jquery-1.12.0.min.js 304 0.315 ms - -
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:516:11)

in console. It is clear what to enter in:

But I don't know how to proper fill mashery_api_key/mashery_api_key_secret. I have a lot of keys and secrets at developer.my_company.com/apps/mykeys. This does not work with any (almost) of the pairs on the given page.

Do I need a special key and secret?

rkiesler1 commented 4 years ago

Paying customers can obtain a Mashery API v3 key/secret from TIBCO support.

dracorp commented 4 years ago

Wow, I didn't expect that. Thank you.

rkiesler1 commented 4 years ago

You can also register for a key online using https://developer.mashery.com/apps/register

dracorp commented 4 years ago

Thank you. I'll try.

dracorp commented 4 years ago

After registering an app at developer.mashery.com and after activating the account, everything is fine. Thx.