Allow CircleCI API calls using GitHub auth
N
Nmiyake
Currently, using the CircleCI APIs requires manually generating a token. For GitHub apps and other GitHub APIs that already have a GitHub token that is authorized for an organization that is integrated with CircleCI, it would be much nicer if it were possible to make CircleCI API calls using this token (or through some kind of OAuth workflow) rather than having to manually having to generate separate tokens in the CircleCI UI.
CCI-I-482
Shay Erlichmen
I would add that calling CiricleCI API from within a job should give me an auto token of the current user. If we trigger a workflow (using API) from within a job I don't think we need to pass a token, the token should exists inside an environment variable and we can use it to call every API that the user is allowed to. Today we are using a single token and it looks like a single user has trigger all the workflows.
Paul Pettengill
+1 to what Shay Erlichmen said about it looking like a single user has triggered all the workflows, very not preferable