Skip to content

Commit

Permalink
Add support for App Callback URLs (#3204)
Browse files Browse the repository at this point in the history
Fixes: #3203.
  • Loading branch information
Roming22 authored Jul 10, 2024
1 parent 2204dce commit 0c1bfb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scrape/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,14 @@ type OAuthApp struct {

// AppManifest represents a GitHub App manifest, used for preconfiguring
// GitHub App configuration.
// c.f. https://docs.github.com/en/apps/sharing-github-apps/registering-a-github-app-from-a-manifest
type AppManifest struct {
// The name of the GitHub App.
Name *string `json:"name,omitempty"`
//Required. The homepage of your GitHub App.
URL *string `json:"url,omitempty"`
// The full URL(s) of the endpoint(s) to authenticate users via the GitHub App (Max: 10).
CallbackURLs []string `json:"callback_urls,omitempty"`
// Required. The configuration of the GitHub App's webhook.
HookAttributes map[string]string `json:"hook_attributes,omitempty"`
// The full URL to redirect to after the person installs the GitHub App.
Expand Down

0 comments on commit 0c1bfb4

Please sign in to comment.