Use refresh token with desktop Python script?

New post


1 comment

  • 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 for a description of these.


    Our official Python SDK 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.

    Comment actions Permalink

Please sign in to leave a comment.