---
title: "Sign in a user"
url: "https://docs.unified.to/auth/login/Sign_in_a_user"
description: "API reference for Sign in a user. Launch multiple pre-built Login integrations today with zero maintenance — all through a single API."
generated_at: "2026-05-21T18:16:48.413Z"
---
# Sign in a user

 GET/unified/integration/login/{workspace\_id}/{integration\_type} NO AUTH NEEDED

Returns an authentication URL for the specified integration. Once a successful authentication occurs, the name and email are returned inside a jwt parameter, which is a JSON web token that is base-64 encoded.

## Parameters

**success\_redirect**string 

The URL where you want the user to be redirect to after a successful authentication/sign-in. A "jwt" parameter will be appended to the URL which will contain a name and email of the user who just signed-in.

**failure\_redirect**string 

The URL where you want the user to be redirect to after an unsuccessful authentication. An "error" variable will be appended.

**state**string 

Extra state to send back to your success URL

**redirect**boolean 

**env**string  default=Production

**workspace\_id**string  required 

The ID of the workspace

**integration\_type**string  required 

Type of the supported integration

## Returns

string
