Scopes 与用户信息
声明按 access token 的 scope 过滤
推荐 UserInfo:https://login.heanbian.com/userinfo。兼容:https://login.heanbian.com/oauth2/userinfo。
可申请 Scope
| Scope | 推荐 | 说明 | 常见声明 |
|---|---|---|---|
openid |
是 | 启用 OIDC,获取 ID Token 与主体标识 |
sub
|
profile |
是 | 基本资料 |
name nickname picture preferred_username
|
email |
是 | 邮箱相关声明 |
email email_verified
|
phone |
否 | 手机号相关声明 |
phone_number phone_number_verified
|
机读接口
GET /api/v1/integration/scopes