-
It would be great if there was an easy way to change the oauthBaseURL/Token URL like you can the apiRootURL and uploadURL. This is done in the Java SDK via the setTokenUrl() setter. I've been trying to do this but it's pretty painful and I haven't been able to get it to work. Here is what I am trying by manually building the client. I have noted the error at the bottom of the code when trying to pass a Request Manager using the EventEmitter. Is there an easier way to do this?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I figured out the EventEmitter error, I wasn't passing it to the TokenManager. but now I am getting invalid sub specific back from the API. My new code is:
|
Beta Was this translation helpful? Give feedback.
-
I figured it out. I thought I was passing a user ID but was passing the enterprise ID when setting the type as user. It is working now. |
Beta Was this translation helpful? Give feedback.
I figured it out. I thought I was passing a user ID but was passing the enterprise ID when setting the type as user. It is working now.