I am using Box .NET SDK. I have created a Box App with JWT and it has been authorized by admin. If I use a developer token all is well. If I try to get a UserToken or AdminToken the application hangs on the call to get the token. When I step through my code the call to AdminToken does not return, it just hangs.
var reader = new StreamReader(HostingEnvironment.MapPath("~/Scripts/BoxConfig.json")); var json = reader.ReadToEnd(); var config = BoxConfig.CreateFromJsonString(json); BoxJWTAuth boxJWT = new BoxJWTAuth(config); var userToken = boxJWT.AdminToken();
Please sign in to leave a comment.