Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Manager
Message 11 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Working on it @toniopelo, thanks for the reminder!


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Pilot Lvl 1
Message 12 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

@AndreaGriffiths11 

I'm sorry to bother you again but I'd like to have either a timeline either a "We won't do it".

I have strategical decisions to take for the development of my Github App and I would like to know if this "fix~feature" is gonna be available in the following months or if I'll keep ask for updates every 2 weeks for a year.

 

I'm sorry for the tone of my message but I really need an answer so I can figure out what is the best decision for me between waiting for this thread to be resolved or rethinking my application. My SaaS is supposed to be operationnal in a couple of months and I'm still waiting for an answer..

Community Manager
Message 13 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Hey @toniopelo,

 

It's no bother at all! I wish I had better news for you, Unfortunately, I can't give you an ETA for when this will be enabled, latest update I've gotten shows me -The engineering team has an internal issue open to allow GraphQL API search for GitHub Apps, but no definite timeline as to when it would happen.


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Pilot Lvl 1
Message 14 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Hi @AndreaGriffiths11,

 

Is there any update regarding this ?

I can see that nothing has been done yet but I was wondering if there were an ETA or something ?

 

Still a big issue on my side :(.

Would be great to know the timeline as it can drastically change the amount of work on my Github App.

 

Have a nice day,

Antoine.

Pilot Lvl 1
Message 15 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Ground Controller Lvl 1
Message 16 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Any updates? Looking forward to be able to use the search api with github apps.

Copilot Lvl 2
Message 17 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Bump on this as well....

 

It's increasingly frustrating trying to use the GraphQL documentation and sort out what is acceptable on these endpoints. The REST API clearly documents what a GitHub App can and cannot do, which isn't the case for GraphQL.

 

Can we get a bit more background information as to why the search endpoint isn't enabled?


For context, I'm getting all my organization's vulnerabilities, which is an endpoint that is only available on GraphQL, and I need to use the search endpoint in order to filter out my organization's repos. I'm happy to hear a better way - but I'm not seeing one at the current moment.

Using a GitHub App allows me not to use a personal access token for this and have better security.

 

EDIT: I was able to reformat my query to not use the search endpoint. However, it doesn't seem the vulnerability alerts is available for GitHub Apps. Which is again.... frustrating to find out after working through the queries. But it's in beta. My major feedback here is to have what GitHub Apps can and cannot access for GraphQL endpoints.  It takes a lot of time to form a good query and then to find it doesn't work with GitHub Apps just makes you feel like you've wasted your time.

Ground Controller Lvl 1
Message 18 of 18

Re: Error accessing GraphQL search when authenticated as a GitHub App Installation

Came here to second how frustrating it is to not have access to the Search endpoint and to not have GraphQL permissions be the same as REST permissions. I developed an app with a personal access token and only realized this restriction of Github App tokens when deploying :(