---
title: "Getting UserInfo by token"
method: GET
path: "/auth/realms/{realm}/protocol/openid-connect/userinfo"
tags: ["users"]
---

# Getting UserInfo by token

`GET /auth/realms/{realm}/protocol/openid-connect/userinfo`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `Authorization`

Getting UserInfo by token

## Path parameters

- `realm` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2024-03-06** `8b4a5cf61c3c`: 1 info
  - endpoint added
- **2024-03-06** `4009b08a3a5a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/wissance/apis/wissance-ferrum-api/changes/auth/realms/:realm/protocol/openid-connect/userinfo/get.md)

---

[API](https://skmtc.dev/wissance/apis/wissance-ferrum-api.md) - [All operations](https://skmtc.dev/wissance/apis/wissance-ferrum-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wissance/apis/wissance-ferrum-api/revisions/45bad8274649?raw)
