---
title: "Oauth Callback"
method: GET
path: "/api/identity/connections/m365/callback"
tags: ["identity"]
---

# Oauth Callback

`GET /api/identity/connections/m365/callback`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/identity/connections/m365/callback`
- Auth: none declared

Handle Microsoft admin consent callback. Unauthenticated.

## Query parameters

- `state` string, required
- `code` string
- `error` string
- `error_description` string

## Other responses

- `302`: Redirect after consent flow
- `307`: Successful Response
- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
