---
title: "Process SAML login callback"
method: POST
path: "/api/v1/dotsaml/login/{idpConfigId}"
tags: ["SAML Authentication"]
---

# Process SAML login callback

`POST /api/v1/dotsaml/login/{idpConfigId}`

Handles the callback from the Identity Provider after successful authentication. Extracts user information from the SAML assertion and creates/logs in the user to dotCMS.

## Path parameters

- `idpConfigId` string, required

## Response `200`

SAML login processed successfully - user logged in

## Other responses

- `400` — Bad request - invalid SAML assertion or missing data
- `401` — Unauthorized - SAML assertion validation failed
- `404` — IDP configuration not found or not enabled
- `500` — Internal server error during SAML login processing

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
