---
title: "Get social login redirect URL"
method: GET
path: "/api/auth/login/{provider}"
tags: ["auth"]
---

# Get social login redirect URL

`GET /api/auth/login/{provider}`

Get the redirect URL for social authentication

## Path parameters

- `provider` string, required

## Query parameters

- `redirect_uri` string, nullable — Optional redirect URI after authentication

## Response `200`

Successful Response

- SocialLoginResponse — Social login redirect response model.
  - `redirect_url` string, required — URL to redirect user for social authentication
  - `provider` string, required — Social provider name

## Other responses

- `422` — Validation Error

---

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