You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request > GitHub App authentication support #514
Reacted by Leonhardt Wille, Tim Miller, Paul Tyng, Joscha Laubach, Kevin Behrens, Jon Middleton, Adrien de Castelnau, Sven Walter, Alexander Bellhäuser, Kurt Madel and 7 more
I would add that it would be nice to be able to use repository deployment keys in the same fashion. While this would limit the overall functionality of the provider, it would be nice to not have to tie the use of the provider to a specific user account.
It's been on my list to port over - but you can use this provider to auth via Github App, and feed the token into the official Github Terraform provider:
Is there a simple string I can generate by hand that encodes OAuth2 info in it that will drop-in work in the existing provider? The docs say
token - (Optional) A GitHub OAuth / Personal Access Token. When not provided or made available via the GITHUB_TOKEN environment variable, the provider can only access resources available anonymously.
But I can't figure out what to give it. We're not OAuth2 knowledgable here, so any help or examples would be deeply appreciated. We're hitting our API limits constantly and need to switch over to the GitHub VCS connection established by Terraform.io.
Activity
[-]Feature Request > support GitHub App authentication[/-][+]Feature Request > GitHub App authentication support[/+]dutsmiller commentedon Aug 5, 2020
I would add that it would be nice to be able to use repository deployment keys in the same fashion. While this would limit the overall functionality of the provider, it would be nice to not have to tie the use of the provider to a specific user account.
patrickmarabeas commentedon Nov 11, 2020
It's been on my list to port over - but you can use this provider to auth via Github App, and feed the token into the official Github Terraform provider:
Provider schema: https://github.com/patrickmarabeas/terraform-provider-github-v4/blob/master/github-v4/provider.go#L31
Access the token: https://github.com/patrickmarabeas/terraform-provider-github-v4/blob/master/github-v4/data_source_github_token.go
Beware of the differences in auth and access that Github Apps have.
jcudit commentedon Nov 26, 2020
Very interested in seeing this one ship. Thanks for getting the discussion started!
patrickmarabeas commentedon Nov 28, 2020
I'll start working on integrating the functionality: https://github.com/terraform-providers/terraform-provider-github/pull/613
jspiro commentedon Mar 30, 2021
Is there a simple string I can generate by hand that encodes OAuth2 info in it that will drop-in work in the existing provider? The docs say
But I can't figure out what to give it. We're not OAuth2 knowledgable here, so any help or examples would be deeply appreciated. We're hitting our API limits constantly and need to switch over to the GitHub VCS connection established by Terraform.io.
alloveras commentedon Apr 5, 2021
Hey @patrickmarabeas,
It seems like the link to your PR above is broken (perhaps you ended up discarding it? 😃 )
I started a new one from scratch here. This message is just to make sure we aren't duplicating efforts 😉
patrickmarabeas commentedon Apr 7, 2021
@alloveras yeah they moved the repo. I haven't done much more, so sweet as 👍