GET
/oauth/authorize
用于发起 OAuth 2.0 授权码流程,成功后会重定向至业务系统的回调地址。
关键参数
client_id:客户端 IDredirect_uri:回调地址response_type=codescope、state
示例
/oauth/authorize?client_id=web-demo&redirect_uri=https%3A%2F%2Fdemo.app%2Fcallback&response_type=code&scope=read%20write&state=random_state