---
title: "Complete Google, GitHub or Microsoft (azure) sign-in with an authorization code (?code=)"
method: GET
path: "/auth/{provider}/callback"
tags: ["Authentication"]
---

# Complete Google, GitHub or Microsoft (azure) sign-in with an authorization code (?code=)

`GET /auth/{provider}/callback`

## Request

- Base URL: `https://api.zop.dev`
- URL: `https://api.zop.dev/auth/{provider}/callback`
- Auth: none required

Complete Google, GitHub or Microsoft (azure) sign-in with an authorization code (?code=)

## Path parameters

- `provider` string, required

## Response `200`

Successful response.

- GenericResponse: Response payload. Per-endpoint response schemas are not yet published — see the linked documentation for the concrete shape of each.

## Other responses

- `401`: Missing, expired or invalid bearer token.
- `403`: The caller is authenticated but lacks permission.
- `404`: No such resource, or it is not visible to this caller.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/zop/apis/zopnight-platform-api.md) · [All operations](https://skmtc.dev/zop/apis/zopnight-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zop/apis/zopnight-platform-api/revisions/ee28c3af60aa?raw)
