-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Bug] GitHub backup token input is limited to 40 characters #122
Comments
Does the |
I cannot find any official conclusive doco on the access token format or length, but having generated a few tokens they seem to be 93 characters and start with |
sorry forgot this issue, does 93 chars include the github_pat_ prefix |
Yes, 93 characters includes the |
try beta when new build finished |
Thanks, it's working perfectly now |
What happened?
The input field for
token
in GitHub backup screen is limited to 40 characters.This causes fine-grained personal access tokens to be trimmed and don't work, since that token is longer, eg
github_pat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Note that fine-grained personal access token is supported by the file contents api as linked from the github backup page: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#create-or-update-file-contents
Platform
All
Device Info
No response
Which game server is related to this issue? (Optional)
No response
App Version
2.5.10 (971) - 9381d2
Checklist
Relevant log output
No response
The text was updated successfully, but these errors were encountered: