I was able to resolved it!
My issue was that, I was using multiple "out parameters" in the AppService method. Removing those parameters and using class as a parameter instead resolved the issue.
<cite>ismcagdas: </cite> Hi,
Can you check the result of "AbpServiceProxies/GetAll" request in your browser's network tab ? It should return ABP service proxy scripts.
Thanks.
What if it does not return anything? In my case I get nothing in response.
Thanks
Hi @ismcagdas,
Is there any update on this now? Have you guys started on it?
Is there any official way available to upgrade the version of ASPNET Zero?
Hi,
I tested same with console application. It is working in console application but not in this.
Hi,
The issue is that i want get data from google drive using ASP NET zero ( using Google SSO).
private static GoogleOAuth2AuthenticationOptions CreateGoogleAuthOptions() { var options = new GoogleOAuth2AuthenticationOptions { ClientId = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientId"], ClientSecret = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientSecret"]
};
options.Scope.Add("https://www.googleapis.com/auth/drive");
return options;
}
If i use normal code, it is working fine. i am able to login into the application, but if i add scope for google drive as shown in above code it gives NULL into login info in ExternalLoginCallback method as shown below.
public virtual async Task<ActionResult> ExternalLoginCallback(string returnUrl, string tenancyName = "") { returnUrl = NormalizeReturnUrl(returnUrl); var loginInfo = await _authenticationManager.GetExternalLoginInfoAsync(); ............ ............
Hi ,
I am using MVC 5.x & jQuery. ver 5.0
Hi,
I am using Google SSO to sign into application. i am able to login successfully into application. But I tried to use scope with this but it is showing error. It is taking me back to login page.
How can i add scopes. i added following code in startup.cs
private static GoogleOAuth2AuthenticationOptions CreateGoogleAuthOptions()
{
//return new GoogleOAuth2AuthenticationOptions
//{
// ClientId = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientId"],
// ClientSecret = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientSecret"]
//};
var options = new GoogleOAuth2AuthenticationOptions
{
ClientId = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientId"],
ClientSecret = ConfigurationManager.AppSettings["ExternalAuth.Google.ClientSecret"]
};
options.Scope.Add("https://www.googleapis.com/auth/drive");
return options;
}
Thanks
i am getting NULL var loginInfo = await _authenticationManager.GetExternalLoginInfoAsync();
it was already there.