---
title: "Generic Auth Init"
method: GET
path: "/v2/login"
tags: ["API Gateway", "AuthProviders"]
---

# Generic Auth Init

`GET /v2/login`

Starts generic authentication. Provide either a provider slug or a domain to auto-discover the SSO provider.

## Query parameters

- `provider` string
- `domain` string

## Response `200`

SSO or local authentication identifier

- object
  - `provider` string, required

## Other responses

- `302` — Redirection to the SSO provider

---

[API](https://skmtc.net/prisme/apis/prisme-ai-apis.md) · [All operations](https://skmtc.net/prisme/apis/prisme-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prisme/prisme-ai-apis/versions/b702c3eef2f2/schema)
