Platrium Docs

Local Login

POST
/auth/login

Authenticates a user via credentials against a specific IdP and establishes a session or issues a challenge.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/auth/login" \  -H "Content-Type: application/json" \  -d '{    "idp_id": "string",    "email": "string"  }'
{  "status": "string",  "next_step": "string",  "challenge_token": "string",  "available_methods": [    "string"  ]}