Skip to main content
Solved

How do you use an app token for a limited access app in the .net gen sdk (not the original .net sdk) ?

  • September 5, 2024
  • 2 replies
  • 31 views

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?

Best answer by Oliver Box

Hi @nframe!

 

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:

  1. https://developer.box.com/guides/authentication/
  2. https://developer.box.com/guides/authentication/app-token/
View original
Did this topic help you find an answer to your question?

2 replies

  • New Member
  • 2 replies
  • Answer
  • September 5, 2024

Hi @nframe!

 

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:

  1. https://developer.box.com/guides/authentication/
  2. https://developer.box.com/guides/authentication/app-token/

Jey Bueno Box
  • Community Manager
  • 315 replies
  • September 5, 2024

Hi @nframe 👋 Welcome to our community! 🎉 We appreciate posting this topic on how to use an app token for a limited access app.

Thank you so much @noj Box for providing this essential resource. You’re awesome! 👏


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings