https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1c0c41e607a8b6fe&redirect_uri=【https】%3A%2F%2F【sample.o2oa.net】%2Fx_desktop%2Fmpweixinsso.html%3Ftype%3Dbind&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
需要注意修改【】符号包含的内容。
第一个是http 或 https
第二个是O2OA访问域名
我使用的是:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1c0c41e607a8b6fe&redirect_uri=http%3A%2F%2Fwww.域名%2Fx_desktop%2Fmpweixinsso.html%3Ftype%3Dbind&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
②工作页面:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1c0c41e607a8b6fe&redirect_uri=【https】%3A%2F%2F【sample.o2oa.net】%2Fx_desktop%2Fmpweixinsso.html%3Ftype%3Dlogin%26redirect%3Dportalmobile.html%253Fid%253D【mobilePortal】&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
需要注意修改【】符号包含的内容。
第一个是http 或 https
第二个是O2OA访问域名
第三个是跳转的门户ID
我使用的是:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1c0c41e607a8b6fe&redirect_uri=http%3A%2F%2Fwww.域名%2Fx_desktop%2Fmpweixinsso.html%3Ftype%3Dlogin%26redirect%3Dportalmobile.html%253Fid%253D门户标识&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect