GitHub App installation "act on your behalf" warning #37117
Replies: 69 comments 69 replies
-
Relevant issue which seems to be top on Google searches: cirruslabs/cirrus-ci-docs#751 |
Beta Was this translation helpful? Give feedback.
-
Would be very interested in seeing a resolution to this - the prompt below is too scary to agree to |
Beta Was this translation helpful? Give feedback.
-
Hi there @nehzata and welcome to our community! Thank you for asking a great question 🙂 |
Beta Was this translation helpful? Give feedback.
-
@martinwoodward Sorry for pinging like this. Could you please assist? |
Beta Was this translation helpful? Give feedback.
-
Hey all, Would updating the permissions individually to explain the permission make more sense? E.g. "Open and close issues in your name" or "Open and close issues using your identity"? Neither is immediately clear that everyone else will see you closing those issues. |
Beta Was this translation helpful? Give feedback.
-
@hpsin thanks for responding to this! Yes that would be great but I worry that it's going to take a long time to implement. Can I also suggest for now changing the warning to read "May be able to act on your behalf" and updating the docs behind the "Learn more" link? The wording in the linked docs further reinforces the the wrong impression. |
Beta Was this translation helpful? Give feedback.
-
As a maintainer I had to think long and hard about allowing this dialouge, check the source of the app to see if it was legit and vet the background of the author a bit as it doesn't say what it can do on my behalf, this message should definietly explain the scope of what the app can do, and allow us to limit that scope. |
Beta Was this translation helpful? Give feedback.
-
as for me, it's just a generic message from GitHub, what you can do is to put the complete information about your app in README and any other possible site for the users |
Beta Was this translation helpful? Give feedback.
-
I get this with an app that has 0 permissions requested. I would expect that for an app with 0 permissions requested, only the first of the following 3 messages would appear in the authorize UI.
Verify your GitHub identity (coryvirok)✅ This makes sense me as a developer as well as a consumer of an app that is requesting 0 permissions. The very fact that I'm adding the app to my GitHub account in order to provide SSO to my site would mean that my site is going to be able to verify my identity on GitHub. Know which resources you can access❌ This doesn't make sense to show for a GitHub app since the user is going to be able to select which resources the app has access to. Meaning, the app will only be able to know which resources belong to the user if the user selects them. As a user of the app, this makes me wonder if the app is able to see resources outside of the ones I've selected. Act on your behalf❌ This doesn't make sense to show unless there is some sort of a If at all possible, I'd like to never use a user-to-server token which would mean my app would always interact with GitHub using the installation token. Which means I would never be acting on the user's behalf. |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this? I have a simple GitHub Application that asks for read-only information to public data just to hit the GitHub API with authentication (to avoid the public rate limit) and users are asking why the app says it can "Act on your behalf." |
Beta Was this translation helpful? Give feedback.
-
Bump on this thread. Any update from the GitHub team? Going by @p0358's comment above, the current messaging encourages devs to build an oauth app instead of GitHub app. Yet all over the docs GitHub has plastered the message asking us to consider moving away from Oauth apps |
Beta Was this translation helpful? Give feedback.
-
I can't believe this phrasing is still there. Number one reason why users do not go through that first screen, even though I have zero permissions to act on their behalf. I suspect that's the reason why many companies use 2 GitHub flows: one for authorising/identifying the user using an OAuth app (which doesn't have this crazy warning), and a second one which goes through a GitHub App when permissions are needed on repositories (because we can take advantage of the better granularity here). But that's not what I would call a good dev UX. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
With only read permissions set on our app, showing this warning is a bug. |
Beta Was this translation helpful? Give feedback.
-
I can't believe this is still an issue. This is definitely a bug, the interface is showing incorrect and misleading information to the user. This creates lots of problems in the context of a security aware company since all users will report a non-issue |
Beta Was this translation helpful? Give feedback.
-
This is unlikely to get resolved because the messaging is correct. The app can act on your behalf when installed to a repository. This is true whether you have read or write permissions (the app does act on your behalf to read your repo!). The warning is upfront when you authorize the app. The issue is that you might want to use GitHub App as an auth mechanism before getting the user to commit to installing your app. I can see two choices here:
|
Beta Was this translation helpful? Give feedback.
-
maybe Copilot can help with this one? ;) seriously, this is extremely confusing for everyone who does not just blindly click "authorize everything" . |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
I ended up creating an Oauth app for the initial login. The conversion rate is insane compared to the last one (I have a low volume but so far 100% proceed to account creation vs around 50% with the App one). Still, this means you have a 3 leg process: 1. Oauth app for login 2. GitHub App Authorization and 3. GitHub App installation. Although the advantage is that once the user has entered your app, you can guide them through the process. It'd be nice if this process is eased and simplified. |
Beta Was this translation helpful? Give feedback.
-
This UX bug is still in place and has had no attention paid to it. |
Beta Was this translation helpful? Give feedback.
-
Microsoft Dev Tunnels also has this problem. |
Beta Was this translation helpful? Give feedback.
-
This is annoying wording and affects the sign-up conversion rate for our code search app. Even though we request only email address read permission, some users get spooked by the "act on your behalf" text. |
Beta Was this translation helpful? Give feedback.
-
No, this message cannot be removed or customized. It’s a standard security warning shown by GitHub during app installation, regardless of whether the app only has read-only permissions. The banner is meant to inform users that the app will interact with their account, even if in a limited, read-only capacity. You can reassure users by documenting clearly that your app only requests read-only access and cannot perform write actions. |
Beta Was this translation helpful? Give feedback.
-
The "act on your behalf" warning appears for ALL GitHub Apps during installation, regardless of the permissions they request - even apps with zero permissions show this message. This is a known UI/UX issue that GitHub acknowledges but hasn't resolved yet. Here's what you need to know: Why it appears:
Current status:
What it actually means:
Recommendations:
Unfortunately, this remains a frustrating limitation that affects user trust and conversion rates for GitHub App installations. |
Beta Was this translation helpful? Give feedback.
-
We've been bumping it so hard for the past 3 years, to no avail. I highly doubt anything will ever happen. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Beta Was this translation helpful? Give feedback.
-
So much useless AI slop comments in recent days. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The discussion appears to have been locked. I can't vote anymore. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an app configured with read-only access to user's email address, read-only metadata access & read-only repository content access.
When users try to install the app though they are warned that my app will "Act on your behalf", which is leading to a very negative user experience. Is there anything I can do? Is it something I've done wrong? Can I reconfigure the app in any way to remove this warning?
The number one question I'm currently getting is "Why does your app need to act on my behalf?"
Thanks in advance!
Ali,
Beta Was this translation helpful? Give feedback.
All reactions