-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 when attempting to get a token for an organisation scoped app installation #76
Comments
We do both. There is no unified REST API endpoint, so we try the org lookup first, and then do the user lookup: create-github-app-token/lib/main.js Lines 95 to 112 in bb368d6
I agree the error we through could be more helpful though. We should make clear that an installation was not found for In your case, it looks like the app is not installed on @pre-quantum-research. If you register a GitHub app, you still need to install it, even if it's an app private to your organization. |
You are absolutely correct, silly me 😅 |
No worries, I've been there countless times myself 😁 |
I have an app installation set up on an organisation, having followed the docs on this repo. It appears the lookup is being done against the
/users/...
endpoint which doesn't seem correct for an organisation?The text was updated successfully, but these errors were encountered: