fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
450 stars 10 forks source link

Feature request: add preset required scopes on token creation link #2200

Open nagromc opened 2 months ago

nagromc commented 2 months ago

It would be useful for the user to preset the GitLab/GitHub/… token creation link with the required scopes.

Actual behavior

Currently, the GitLab token creation link is http://example.com/-/profile/personal_access_tokens

The user needs to know what scope Fork requires.

Expected behavior

It should be something like http://example.com/-/profile/personal_access_tokens?name=Fork%20Git%20client&scopes=api,write_repository

(replace with any required scopes, and decline the scopes with the other platforms)

DanPristupov commented 2 months ago

Maybe it's a bug, but it doesn't work on gitlab.com: https://gitlab.com/-/user_settings/personal_access_tokens?name=Fork+Git+client&scopes=api%2Cwrite_repository

nagromc commented 2 months ago

You have to click the Add new token button now.

image

The required scopes have been pre-checked:

image