---
title: "Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth"
tags: ["GitHubOAuth"]
---

# 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`

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

## 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 `200`

Azure operation completed successfully.

- GitHubOAuthListResponse — The response from List GitHubOAuth operation.
  - `value` GitHubOAuthResponse[] — Singleton list response containing one GitHubOAuthResponse response — unresolved $ref

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/developerhubserviceclient.md) · [All operations](https://skmtc.dev/azure/apis/developerhubserviceclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/developerhubserviceclient/revisions/24eb04b2d03b/schema)
