GitHub
Create OAuth2 developer application in GitHub
The GitHub administrator registers an OAuth Application in GitHub. They will need the Posit Connect redirect URL which is defined as https://connect.example.org/__oauth__/integrations/callback
Replace connect.example.org
with the address of the Connect server.
The Connect Administrator must obtain the client ID and client secret from the GitHub administrator.
GitHub requires Confidential authentication, so public is not allowed.
The GitHub administrator will control the level of access through granular Repository, Organization, and Account settings. Unlike other OAuth integrations GitHub disregards all received scopes. Further restricting access by repository_id
is not supported within Connect itself but can be implemented within the content hosted on Connect. See the R Shiny GitHub Integration for details on how to request resources from a specific repository.
Create OAuth integration in Posit Connect
The Posit Connect administrator creates an OAuth integration through the Integrations tab on the Connect dashboard. Once the OAuth integration has been created in Connect, it is available for use by all publishers.