GitHubOAuth

Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.

Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.

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

Request

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

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)

Request body

redirectUrlstring

The URL the client will redirect to on successful authentication. If empty, no redirect will occur.

Response

Azure operation completed successfully.

authURLstring

URL for authorizing the Developer Hub GitHub App

tokenstring

OAuth token used to make calls to GitHub

Changes

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