I’ve seen the example of how to use an app token for a limited access app in the original .NET SDK but have yet to figure it out for the .NET GEN SDK. Basically, I’ve got a Client ID and an App Token that need to create a BoxClient but none of the methods I’ve tried work. Both CcgConfig and JwtConfig objects want clientSecrets or other information. What am I missing?
Hi
Unlike Box custom apps (either JWT or CCG), limited access apps do not support programatic token generation. Instead, the tokens are generated within the dev console (please see screenshot), and then consumed wherever they need to be.
Note that the scopes of the tokens for these limited access apps are, rather unsurprisingly, very limited. But, as a trade-off, they are (or can be) long-lived, and as such, may not need to be refreshed (unlike the tokens generated by custom apps). Consequently, there is only a narrow range of use cases for which a limited access app - and token - may be appropriate.
More information here:
- https://developer.box.com/guides/authentication/
- https://developer.box.com/guides/authentication/app-token/
Hi
Thank you so much
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.