Requests for acting on behalf of a user


#1

While a major benefit of Integrations is their ability to act on their own behalf as first class actors within GitHub, there are certain actions that an Integration takes that are triggered on behalf of a certain user.

You can see the current list of supported actions here.

Request “on behalf of” support for additional endpoints below.


#2

Hi,

Could it be possible to have “on behalf of” support for:

  1. creating issues
  2. creating issue comments

please?


#3

Thanks for the request, @pelletier. Those two are on our list to include in the future! We don’t have an estimated timeframe just yet, but we’ll update here when we add more.


#4

@jmilas Since creating a status is listed as one of the “on behalf of” actions, does that mean if my integration creates a status, the GitHub UI will show the status as having been created by whichever user my integration is acting on behalf of? Is it possible to have statuses show they were created by the integration directly?


#5

@aergonaut It’s possible to do both. If you are using an access token for your installation, your actions will show up as your Integration by itself. If you are a using an access token on behalf of a user and interacting with an endpoint that supports “on behalf of”, your actions will appear as your Integration on behalf of a user (e.g. SuperDeploy [bot] deployed to production triggered by @jmilas).


#6

Ah okay, thanks for clarifying that. From the way the help pages are worded it sounded as though the statuses endpoint was exclusively on-behalf-of.


#7

From the way the help pages are worded it sounded as though the statuses endpoint was exclusively on-behalf-of.

Sorry for the confusion. We’ll look at clarifying that.


#8

Hi @jmilas,

It seems all the links are not working anymore, I cant find any list of supported actions or mention of “on behalf of” anywhere…

Could you update us on the status of this ? For example, I am looking for my integration to create a deployment on behalf of a user.

Thanks in advance.


#9

I cant find any list of supported actions or mention of “on behalf of” anywhere…

Hi @tlvenn,

As part of the Early Access, we decided to change the way we were implementing these endpoints and flows. We’ve temporarily removed this functionality while we make these changes. We’ll update this thread when this functionality has returned.