GitHubOAuth

Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.

Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.

get/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

Query parameters

codestring required

The code response from authenticating the GitHub App.

statestring required

The state response from authenticating the GitHub App.

Parameters

../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter (unresolved $ref)
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter (unresolved $ref)
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/LocationParameter (unresolved $ref)

Response

Azure operation completed successfully.

GitHubOAuthResponse required(unresolved $ref)

Changes

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