Questions tagged [github-app]

104 questions
1
vote
0 answers

What bearer token / permissions do I need to use when making a request to the GitHub REST API to generate a GitHub App scoped access token?

I'm trying to generate a GitHub App scoped access token via the REST API, but continue to run into a "Not Found" response which I understand to mean that the authentication is failing. Per the documentation, I "must use Basic Authentication when…
Chris
  • 27
  • 1
  • 6
1
vote
1 answer

Github Apps - Can you pull without cloning the repo with github apps?

I am using Github Apps to grant different accesses to my organisation. Everything works fine and I am able to clone and pull the repos. However, I have a doubt: If, in the past, I had cloned the Github repo without Github Apps, if I follow the…
MIPB
  • 1,770
  • 2
  • 12
  • 21
1
vote
1 answer

How to make Github app connect after approval

We have a GitHub app that can be installed on a repository. This works using the GitHub app authorization flow that returns back an installation_id that we use to associate a user account on our web app with their GitHub repository. In this case we…
Ankit
  • 3,878
  • 5
  • 35
  • 51
1
vote
2 answers

How can I define an order in my GitHub checks?

I have multiple GitHub checks. One of them is mergify. It merges the PR is all defined checks are successful. However in my case there is a different check that only starts after a minute or so, which is why mergify always misses it. How can I make…
User12547645
  • 6,955
  • 3
  • 38
  • 69
1
vote
0 answers

Unable to connect to GitHub Apps via SonarQube CE. It keeps returning Unauthorized

I am working on integrating SonarQube within my Organizations' CI pipeline, and getting last this huddle is the last step to doing that. I need help with the problem below: I am trying to connect my SonarQube Community Edition deployment to GitHub,…
1
vote
1 answer

Should I create a GitHub App or GitHub OAuth App?

I am trying to create a website that will allow users to authorize their GitHub account and it will then allow the user to click a create button. Which automatically creates a new repo with some files. Now I am confused about should I make a GitHub…
suman
  • 57
  • 8
1
vote
0 answers

How to Authentication Github using Github Apps with SAML authentication

My requirement is that I have written a lambda function in AWS for automatically creating a repository in GitHub using the GitHub API and PAT Token authentication.  def create_automatic_repo(repo_name): query_url =…
1
vote
1 answer

Unable to create project in repository or organisation using GitHub REST API

I am trying to create a project in a GitHub repository using the GitHub REST APIs. I have installed a GitHub app and am using the octokit library and nodejs is my programming language. I have configured the app and given it all the necessary…
JerryK
  • 201
  • 1
  • 11
1
vote
1 answer

How to get a GitHub App access token via shell

Given an app id and secret (pem), how can I get an access token for a repo my app is installed at via a shell script?
Nabil A.
  • 3,270
  • 17
  • 29
1
vote
1 answer

GitHub Graph QL Authentication via a Github App

I am just wondering, did anyone manage to authenticate into the Github GraphQL API with using a Github App and how? The purpose of this is to write a script that pulls information from Github with the GraphQL API, but uses an app for authentication…
1
vote
0 answers

Github API with octokit- app authentication for create a repository dispatch event gives 404 not found

I'm trying to authenticate through a Github app to launch a repository dispatch event as per these docs. The app has the permissions metadata:read and contents:read&write as mentioned in the docs. With the code below, authentication succeeds, but I…
AJP
  • 515
  • 2
  • 13
1
vote
0 answers

Does Gitlab have a similar mechanism to Github Apps to faciliate fetching info from users (e.g. by authenticating as an installation)?

I have developed an app that uses a Github App to facilitate the fetching of pull request information from its users. After a user installs the Github App, I need only the installation id of the user's installation id alongside the credentials of…
Atticus
  • 147
  • 1
  • 9
1
vote
1 answer

GitHub user authentication in GitHub application through Django framework

I want to authenticate GitHub user to my GitHub application and serve to my local server 127.0.0.1:8000, but I am not able to take tokens. This is how GitHub is showing authentication. From GitHub documentation, I am not able to understand the…
1
vote
0 answers

Best way to get Github repository info using Service Account

We're building a microservice to interact with Github REST API to read repository information within our organization. At the moment, we use individual user id and personal access token (created for the user id) to access the remote api…
1
vote
2 answers

Is their SDK library to create Github Bot in python

I was moving towards creating Bot(Github App). I googled a lot but could not find it. Is their any SDK, library to create Github bots in python as Slack-bolt, slack SDK for python to listen for web events? There is probot which is for Node…
John Byro
  • 674
  • 3
  • 13