---
title: "GET /api/v2/auth/social_urls/"
method: GET
path: "/api/v2/auth/social_urls/"
tags: ["auth"]
---

# GET /api/v2/auth/social_urls/

`GET /api/v2/auth/social_urls/`

## Request

- The document declares no server URL.
- Auth: none required

Returns a list of URLs that can be used to begin a social authentication process.

Also ensures the CSRF cookie is set, which is needed for the SPA login flow.
Without this, the first login attempt in a fresh browser session would fail
because no Django template renders {% csrf_token %} to trigger cookie creation.

## Query parameters

- `next` string

## Response `200`

- SocialAuthURL[]
  - `method` string, required
  - `url` string, required
  - `name` string, required

---

[API](https://skmtc.dev/instanssi/apis/instanssi-org.md) - [All operations](https://skmtc.dev/instanssi/apis/instanssi-org/llms.txt) - [OpenAPI document](https://skmtc.dev/instanssi/apis/instanssi-org/revisions/d45e162506aa?raw)
