简体   繁体   English

Duplicity 和 Dropbox 短期令牌过期

[英]Duplicity and Dropbox short-lived token expires

Since Dropbox switched from long-lived to short-lived access tokens duplicity isn't working properly anymore as the token expires.由于 Dropbox 从长期访问令牌切换到短期访问令牌,因此随着令牌过期,重复性不再正常工作。 Is it possible Is there a fix/workaround to this?是否有可能对此有修复/解决方法?

Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. Dropbox 正在切换到仅发布短期访问令牌(和可选的刷新令牌)而不是长期访问令牌。 You can find more information on this migration here .您可以在此处找到有关此迁移的更多信息

Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention.应用程序仍然可以通过请求“离线”访问来获得长期访问权限,在这种情况下,应用程序会收到一个“刷新令牌”,可用于根据需要检索新的短期访问令牌,而无需进一步的手动用户干预。 You can find more information in the OAuth Guide and authorization documentation .您可以在OAuth 指南授权文档中找到更多信息。

Note that this is something that would need to be implemented by the programmer of the app though, so if you are not the programmer responsible for this integration, you may need to get an update from them to support this.请注意,这需要由应用程序的程序员来实现,因此,如果您不是负责此集成的程序员,您可能需要从他们那里获得更新以支持此功能。

请将此报告给重复问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM