---
title: "Start GitHub sign-in (web)"
method: GET
path: "/v1/auth/github/authorize"
tags: ["auth"]
---

# Start GitHub sign-in (web)

`GET /v1/auth/github/authorize`

## Request

- Base URL: `https://api.smartloop.ai`
- URL: `https://api.smartloop.ai/v1/auth/github/authorize`
- Auth: none declared

Returns the GitHub consent URL. GitHub redirects back to the web app, which calls /v1/auth/github/callback.

## Query parameters

- `scopes` union
  - string
  - string[]

## Response `200`

Consent URL

- AuthorizationURL
  - `authorization_url` string, uri, required

---

[API](https://skmtc.dev/smartloop/apis/smartloop-platform-api.md) - [All operations](https://skmtc.dev/smartloop/apis/smartloop-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartloop/apis/smartloop-platform-api/revisions/17a787eabbe8?raw)
