---
title: "Start OAuth flow for a git provider"
method: GET
path: "/git-providers/{provider_id}/oauth/authorize"
tags: ["Git Providers"]
---

# Start OAuth flow for a git provider

`GET /git-providers/{provider_id}/oauth/authorize`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/git-providers/{provider_id}/oauth/authorize`
- Auth: HTTP bearer

## Path parameters

- `provider_id` integer, required

## Other responses

- `302`: Redirect to OAuth provider
- `404`: Provider not found
- `500`: Internal server error

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
