Use refresh token with desktop Python script?

回答済み
新規投稿

コメント

1件のコメント

  • jmoldow_box

    Developer tokens can never be refreshed. They are meant for development/debugging only, and not for production use.

     

    If you wish to refresh, you must go through our auth process. This means doing either 3-leg OAuth2 (if you want real users to be able to use this program), or doing JWT auth with a service account (for a server-side automation) or an app user.

     

    See https://docs.box.com/docs/authentication for a description of these.

     

    Our official Python SDK http://pypi.python.org/pypi/boxsdk supports all of these types of authentication.

     

    When doing 3-leg OAuth2, you must always make use of a web browser to do the initial authentication, even if the application is not a web application.

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。