Skip to content
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

Add support for new Client Credentials Grant Type #719

Closed
lurch89 opened this issue Jan 26, 2021 · 2 comments · Fixed by #799
Closed

Add support for new Client Credentials Grant Type #719

lurch89 opened this issue Jan 26, 2021 · 2 comments · Fixed by #799
Assignees

Comments

@lurch89
Copy link

lurch89 commented Jan 26, 2021

Is your feature request related to a problem? Please describe.

Per blog post (https://support.box.com/hc/en-us/articles/360056830074-Authenticate-apps-with-Client-Credentials-Grant-Type) the API now supports a Client Credential grant type that simplifies some app access. The post is from Nov 2020 and the last commit on the repo was Oct 2020.

Describe the solution you'd like

Documentation and method support to allow a token to be generated with simply the client_id, client_secret, and enterprise_id (or user as box_subject_type).

Describe alternatives you've considered

Manually generating an access token via RestSharp and a custom call. This requires extra objects and having to parse in the returned access token to the OAuthSession object. No support for autorenew or generating a new token without calling back to custom RestSharp method.

@PJSimon
Copy link
Contributor

PJSimon commented Jan 27, 2021

Hi @lurch89 ,

Thanks for submitting this enhancement request! This is on our roadmap (SDK-1589) as a feature we have prioritized to be implemented in the quarter or two. When we have a more detailed timeline, we can update this GitHub Issue.

We have some other updates coming for the .Net SDK, in the meantime, to bring it up-to-date with the latest API changes.

Thanks so much,

@PJSimon

@sujaygarlanka
Copy link
Contributor

@lurch89 In the meantime, you can use the following authentication methods found in our docs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants