回调地址redirectUri 如下,配置域名如图二
string redirectUri = System.Web.HttpUtility.UrlEncode("http://www.yuanlichaoyue.net/weixinapi.ashx"); // 回调地址URL编码
string authUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appID + "&redirect_uri=" + redirectUri + "&response_type=code&scope=" + scope + "&state=" + state + "#wechat_redirect";

需要配置「网页授权域名」,并不是你图中的「JS接口安全域名」哈。
目前「网页授权域名」配置入口还没有迁移至微信开发者平台,还在微信公众平台。
已完成微信认证的服务号可以在 服务号后台 https://mp.weixin.qq.com/ -> 设置与开发 -> 账号设置 -> 功能设置 里面看到「网页授权域名」的配置入口。