console based application using box.com outh with out asking user to login and allow the app

半世苍凉 提交于 2020-01-15 04:56:05

问题


Here is my situation. I am developing a console based application using c#. Here we can not have user login. Only i can do is using api i need to get auth_code then access token and refresh token. I am very happy if somebody can answer, how to implement this in my console app. i mean how to get the auth_code with out asking user to login and allow the application.

Here if i run a cURL command i am getting html response, which is the complete html for box login page.

Regards, Pradeep


回答1:


The current OAuth 2 flow requires the user to go through the browser and can't be done programmatically.



来源:https://stackoverflow.com/questions/15907076/console-based-application-using-box-com-outh-with-out-asking-user-to-login-and-a

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!