---
title: "GET /saml2_auth/microsoft/callback/"
method: GET
path: "/saml2_auth/microsoft/callback/"
tags: ["saml2_auth"]
---

# GET /saml2_auth/microsoft/callback/

`GET /saml2_auth/microsoft/callback/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/saml2_auth/microsoft/callback/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Query parameters

- `code` string
- `state` string

## Response `default`

Default error response

- ManagementAPIErrorResponse
  - `status` boolean
  - `type` 'validation_error' | 'authentication_error' | 'payment_required' | 'entitlement_error' | 'permission_error' | 'not_found' | 'conflict' | 'client_error' | 'rate_limit' | 'server_error' | 'service_unavailable' | 'timeout' | 'api_error', nullable
  - `code` string, nullable
  - `detail` string, nullable
  - `result` string, nullable
  - `message` string, nullable
  - `error` string, nullable
  - `attr` string, nullable
  - `details` object

## Other responses

- `302`: Redirects to the configured frontend URL.
- `400`: Bad Request

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
