Include token name and required scopes in PAT link
Description
Include a default name and required scopes in the URL to generate the personal access token.
Related Issue
Resolves #[issue_number]
How Has This Been Tested?
I haven't tested this via the code (not sure how to build it), but you can see it working by visiting
https://gitlab.com/-/profile/personal_access_tokens?name=GLab&scopes=api,write_repository
I just found out about GLab and added the feature to support passing in the name and scopes to the PAT page on GitLab. When setting it up I noticed they weren't present and could simplify the set up for other new users.
Screenshots (if appropriate)
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation
- [ ] Chore (Related to CI or Packaging to platforms)
Hi @EspadaV8, thanks a lot for this PR. We announced that this project is officially adopted by GitLab https://github.com/profclems/glab/issues/983#issue-1175723125. All new contributions should be mode to the GitLab repo: https://gitlab.com/gitlab-org/cli
This PR has been automatically marked as stale because it has not had recent activity. This message is just a reminder for the author, reviewers and assignees.