-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pass data for access token as contentType: application/x-www-form-urlencoded #388
Comments
I believe the library uses |
@dking12 Have you figured out how to use this library with the Box API? I have created a Box app with As per the documentation, the
When running this:
I get:
I have confirmed that the correct Client ID, Client Secret, and Enterprise ID are being provided, and that the |
@dking12 I've resolved my issue. In my case I'd missed the prerequisite of adding the app as an authorized app in the Box Admin Console Custom Apps Manager. After doing that, I was able to generate tokens with this library using this:
|
I couldn't find any examples that show how to utilize the library for services that require the access token request to provide data in the contentType of application/x-www-form-urlencoded. One example is using the Box API using the client credentials grant authorization method explained here: https://developer.box.com/guides/authentication/client-credentials/.
I've created a function which can perform this action but I'd prefer to use any built-in functions of this library.
The text was updated successfully, but these errors were encountered: