跳到正文

获取 OIDC 风格的用户信息

GET
/oauth/userinfo

返回符合 OIDC 风格的用户信息文档。

授权

CoinpostOAuth

OAuth 2.0 authorization code flow with PKCE.

authorizationCode Flow
Authorization URL"/oauth/authorize"
Token URL"/oauth/token"
Scopes:
  • "user.public"Read public profile fields.
  • "user.full"Read the full user profile.

响应

Userinfo document

application/json
JSON
{
  
"sub": "string",
  
"name": "string",
  
"picture": "string",
  
"uuid": "string",
  
"email": "string",
  
"email_verified": true
}

试验场

授权

示例