现在做一站点,通过oauth去访问别一点站的会员string AuthorizationURL = string.Format("{0}/oauth2/authorize.ashx?client_id={1}&redirect_uri={2}&response_type=code&state={3}", Oauth.YouWillApiURL, Oauth.AppID, Oauth.RedirectUri, Oauth.State);
System.Web.HttpContext.Current.Response.Redirect(AuthorizationURL);但是这样,用户没有登陆的情况,会自动跳转到对方站点的登陆页面。我想实现,如果用户没有登陆,还在自己的站点页面上。
请问如何操作。ajax方式如何实现oauth的访问,还请高手忙,在线等,已经搞了三天了。