---
title: "Social Authentication Token Operation"
method: GET
path: "/api/v1/idps/{idpId}/users/{userId}/credentials/tokens"
tags: ["IdentityProvider"]
---

# Social Authentication Token Operation

`GET /api/v1/idps/{idpId}/users/{userId}/credentials/tokens`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/idps/{idpId}/users/{userId}/credentials/tokens`
- Auth: API key in header `Authorization`

Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.

## Path parameters

- `idpId` string, required
- `userId` string, required

## Response `200`

Success

- SocialAuthToken[]
  - `expiresAt` string, date-time
  - `id` string
  - `scopes` string[]
  - `token` string
  - `tokenAuthScheme` string
  - `tokenType` string

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
