Apps

Register an app's OAuth client

Registers the app's public PKCE OAuth client with exactly the redirect URIs its manifest declares, or returns the one already registered. Members of an organization that installed the app authorize it to act as themselves, within the installation's repositories and user permissions. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/apps/{app}/oauth-client

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
appstring required

Response

Response for status 200

clientIdstring required
redirectUrisstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.