文档
测试

1.1用户信息验证

GET
http://sa-oauth-server.com:8001/oauth2/authorize?response_type=code&client_id=1002&redirect_uri=http://sa-oauth-client.com:8003/&scope=userinfo

接口描述

用户验证自己的身份信息

请求参数

参数名
类型
描述
必填
response_type
String
默认传code
必填
client_id
String
客户端标识
必填
redirect_uri
String
登录成功后重定向的地址
可选
scope
String
用户要申请的权限
必填

用户已经认证过响应内容

![image.png](https://cos.easydoc.net/56136366/files/lkc0g5ju.png)

用户未认证响应内容

![image.png](https://cos.easydoc.net/56136366/files/lkc0f2rt.png)