Auth Service (v2)
Oauth Setup Callback
Handle OAuth setup callback redirect from GitHub Apps.
This endpoint handles the "Setup URL" callback from GitHub Apps, which is triggered when a user installs or updates their GitHub App installation.
For "update" actions (user modified repo access via GitHub), we just show a success page since no token exchange is needed.
For new installations with code/state, we process similar to the regular OAuth callback.
get/v2/auth/setup/{provider_id}
Request
- The document declares no server URL.
- Authnone required
Path parameters
provider_idstring required
Query parameters
codestring
Authorization code from OAuth provider
statestring
State parameter containing auth_id
setup_actionstring
Setup action from GitHub App
installation_idinteger
GitHub App installation ID
errorstring
Error code from OAuth provider
error_descriptionstring
Error description from OAuth provider
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.