If you don't have the flow already built in to your app, the easiest way to do so would be to: The actual OAuth flow itself still operates as before though, so in the meantime if you need or want "long-lived" (non-expiring) access token(s) for your app and account, you can use that to get them. It sounds like this is disruptive and unexpected for some workflows, so I'll ask the team to switch this back or make it configurable. (We'll post more information when we offer that functionality on the actual OAuth flow.) The API v2 Explorer had early access to this feature for testing and prototyping, and we did just extend that to the "Generate" function on the App Console as well. Have I missed something? How can I acquire a token that will not expire (or at least lasts longer than 4 hours)?Īpologies for the confusion all! Historically Dropbox API access tokens never expired by themselves, but we are working on adding functionality for "short-lived" access tokens, which expire after four hours. If I go to the app console, select the settings for my app, and hover over the info icon next to "Generated access token" it tells me explicitly that the token will only be valid for four hours - directly contradicting everything that I've found online. Everything that I find seems to suggest that tokens should not expire unless they come from the API Explorer - which I'm not using. I've searched this site and the web in an attempt to figure out how to get a token that doesn't expire after four hours. The token string starts with "sl." and seems to expire after four hours. I have generated a token in the app console by clicking the "Generate" button under "Generated access token". I have created an app (Dropbox API, for "app folder" access) through the dropbox website, after authenticating my dropbox account. I'm trying to use the dropbox uploader script. I think that I must be doing something wrong but I can't figure out where.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |