---
title: "Finalize the login process, validate the user and redirect to the proper client website."
method: GET
path: "/Ams/FinalizeLogin/{Provider}"
tags: ["Ams"]
---

# Finalize the login process, validate the user and redirect to the proper client website.

`GET /Ams/FinalizeLogin/{Provider}`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/FinalizeLogin/{Provider}`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/FinalizeLogin/:Provider/get.ts> (a function with typed inputs; its response is checked against the schema)

Finalize the login process, validate the user and redirect to the proper client website.

## Path parameters

- `Provider` string, required

## Query parameters

- `ClientID` integer
- `ReturnUrl` string
- `UseReturnUrl` boolean

## Response `200`

Success

- Object: Object

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
