请求授权码code
GET
http://10.8.0.126:53020/auth/oauth/authorize?client_id=c1&response_type=code&scope=ROLE_USER&redirect_uri=http://www.baidu.com
接口描述
编码认证模式,请求code值
请求参数
参数名
类型
描述
必填
client_id
String
客户端id
必填
response_type
String
要求返回授权码
必填
scope
String
要求的授权范围
必填
redirect_uri
String
接受或拒绝请求后的跳转网址
必填
响应参数
参数名
类型
描述
必填
code
String
必填