-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
[QUESTION] How to use with GitHub Apps? #163
Comments
I've got this working. Main thing I found is to fetch the JWT but then use 'token' in the default connection (rather than application or JWT). Sorry to bombard with code in a comment but I thought that would help! In my github.php i set
and then had some files like so
and
and then in my service classes I'd call the client with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, thank you for sharing this package - it has been tremendously helpful! I'm wondering if you can provide some general guidance or help answer some questions about how to integrate a GitHub App with my Laravel app?
For context, I was using Laravel Socialite to provide oauth authentication, and then piggybacking off this and using the oauth token to work with my users pull requests, comments, etc. and based on their feedback, they prefer these actions to come from the app itself, instead of their account. For example, when my app leaves a comment on their PR, it appears as if the user left the comment, instead of my app.
I have started researching and testing GitHub Apps, and have run into a couple issues and would greatly appreciate any feedback you may have.
I do have a working proof of concept, although it seems a bit "hacky" and I want to see if you have any recommendations on a better approach? So here's what I'm doing currently:
I would love to continue using your package if possible, just not sure how to do so at this point?
I have tried using other connection methods, including
app
,private
, andjwt
but continue to face theBad credentials
error from GitHub.Again, thank you for your work here, and I look forward to your reply in either case 🙏
The text was updated successfully, but these errors were encountered: