I have adapted boilerplate code from the Box SDK documentation using the .NET SDK that is able to successfully connect and upload files using the Dev Token authentication. However, when I attempt to authenticate using the JWT method, my code just hangs at the AdminToken() call. It never throws an error or times out. The code just sits waiting for a response that never arrives. As shown below, I can reach a breakpoint at the first line, but a breakpoint at the second line is never reached.
var adminToken = boxJWT.AdminToken();
var client = boxJWT.AdminClient(adminToken);
I'm not sure how to troubleshoot this issue at this point and any guidance would be greatly appreciated.
Brian Furner