Just a proposal to allow naming connections. I setup two tokens:
A connection with a token that has access to my personal profile
A connection with a token that has access to an organization
Unfortunately, token introspection is very limited for github so viewer just gets the authenticated user which would be glossawy in both cases so the connections look identical. This is extremely simple in just adding an optional name field with no real validation, I don't think it needs to be fancy.
I don't see any way of getting the user the token grants access to with github's existing REST or GraphQL API.
Just a proposal to allow naming connections. I setup two tokens:
Unfortunately, token introspection is very limited for github so
viewer
just gets the authenticated user which would beglossawy
in both cases so the connections look identical. This is extremely simple in just adding an optional name field with no real validation, I don't think it needs to be fancy.I don't see any way of getting the user the token grants access to with github's existing REST or GraphQL API.
Before:![image](https://github.com/pvcnt/reviewer/assets/4606234/95869081-edfe-4fd0-a023-5752f0a9ce0b)
After:![image](https://github.com/pvcnt/reviewer/assets/4606234/89068ec2-e473-4566-8a63-e67011218e73)