Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能像RClone一样 支持google的 service account(sa) #3132

Closed
4 tasks done
tanpengsccd opened this issue Jan 23, 2023 · 5 comments
Closed
4 tasks done

希望能像RClone一样 支持google的 service account(sa) #3132

tanpengsccd opened this issue Jan 23, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@tanpengsccd
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

希望能像RClone一样 支持google的 service account(sa) ,获取的刷新token容易失效

Suggested solution / 实现思路

希望能像RClone一样 支持google的 service account(sa)

Additional context / 附件

No response

@tanpengsccd tanpengsccd added the enhancement New feature or request label Jan 23, 2023
@stale
Copy link

stale bot commented Mar 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label Mar 8, 2023
@stale
Copy link

stale bot commented Mar 16, 2023

This issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

@stale stale bot closed this as completed Mar 16, 2023
@xhofe xhofe reopened this May 12, 2023
@stale stale bot removed the stale No activity for more than 30 days label May 12, 2023
@xhofe xhofe closed this as completed in c19166b May 12, 2023
@orangejx
Copy link
Contributor

已经支持 SA 啦, 只需要将 SA 文件所在位置或者所在文件夹的路径填入 Refresh Token 字段即可使用, 原本填入的 Refresh Token 也可以继续使用.

@tanpengsccd
Copy link
Author

nice,感谢。另外问问 是不是随机选择 sa? 比如有100个sa 是不是随机选择使用?

@orangejx
Copy link
Contributor

nice,感谢。另外问问 是不是随机选择 sa? 比如有100个sa 是不是随机选择使用?

原则上来说是顺序读取的,
例如所填文件夹内有 000.json, 001.json, 002.json ... 099.json . 第一次会读取 000.json, 第二次会读取 001.json, 以此类推.

此外, 由于通过 SA 获取的 Access Token 有效期最大为 1 小时, 所以每隔 1 个小时都会切换到新的 SA. 当所有的 SA 使用完毕之后, 则重新使用第一个 SA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants