---
title: "User info endpoint"
method: GET
path: "/oauth/userinfo"
tags: ["Authentication"]
---

# User info endpoint

`GET /oauth/userinfo`

UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.

## Response `200`

ok

- TokenClaims
  - `aud` string
  - `email` string
  - `exp` string
  - `extra` object
  - `iat` string
  - `iss` string
  - `jti` string
  - `locale` string
  - `nbf` string
  - `nonce` string
  - `preferred_username` string
  - `scopes` string[]
  - `sub` string
  - `token_type` string
  - `url` string
  - `username` string

## Changes

> 25 revisions in range; 1 could not be searched.

- **2022-02-14** `ffb3c81d8ce3` — 1 info
  - endpoint added
- **2019-08-27** `6d6e730a2d14` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubesphere/apis/ks-api/changes/oauth/userinfo/get.md)

---

[API](https://skmtc.dev/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.dev/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubesphere/ks-api/revisions/0451c8cec9b1/schema)
