第三方应用授权接入流程(PHP版)
第三方应用授权注意事项:[url]https://openclub.alipay.com/read.php?tid=14575&fid=68[/url]
一、调用接口
1、访问授权,获取app_auth_code
获取app_auth_code方式:[url]https://openclub.alipay.com/read.php?tid=14581&fid=68[/url]
注:沙箱测试时,只能使用应用授权URL拼接的方式;
沙箱授权URL规则:[url]https://openauth.alipay[/url]dev.com/oauth2/appToAppAuth.htm?app_id=APPID&redirect_uri=ENCODED_URL
3、换取应用授权令牌接口
参数说明:
(1)grant_type:
aut