---
title: "PUT /authenticate/{provider}"
method: PUT
path: "/authenticate/{provider}"
tags: ["authenticate"]
---

# PUT /authenticate/{provider}

`PUT /authenticate/{provider}`

## Request

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

## Path parameters

- `provider` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `State` string
  - `oauth_token` string
  - `oauth_verifier` string
  - `UserName` string
  - `Password` string
  - `RememberMe` boolean
  - `Continue` string
  - `nonce` string
  - `uri` string
  - `response` string
  - `qop` string
  - `nc` string
  - `cnonce` string
  - `UseTokenCookie` boolean
  - `AccessToken` string
  - `AccessTokenSecret` string
  - `Meta` string

## Response `200`

Success

- AuthenticateResponse: AuthenticateResponse
  - `UserId` string
  - `SessionId` string
  - `UserName` string
  - `DisplayName` string
  - `ReferrerUrl` string
  - `BearerToken` string
  - `RefreshToken` string
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `Meta` DictionaryStringString: Dictionary<String,String>

---

[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)
