0

I have a mobile app that has an Azure back end. It works the way it is. My authentication code is as follows:

client = new MobileServiceClient(Settings.ServiceURI);

var user = await client.LoginAsync(this,
                    MobileServiceAuthenticationProvider.Google, "appname");

The problem with this is that it literally takes you to the ServiceURI of my App before it redirects you to Google for authentication. Even in the Google authentication, it displays the ServiceURI as that to which you are logging in. Is there a better way to do this so that you just see the Google login page with no information displayed concerning the ServiceURI?

Thanks, Jim

Jayendran
  • 9,638
  • 8
  • 60
  • 103
Jim Wilcox
  • 1,480
  • 16
  • 33
  • You could refer to this [article](https://learn.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/authentication/azure#using-an-azure-mobile-apps-instance) to login google. – Joey Cai Oct 15 '18 at 08:54
  • @JoeyCai That is what I am doing now as shown in my example. In your link you can see that mysite.azurewebsites.net is displayed on the login page. I am trying to have that not happen if it is possible. – Jim Wilcox Oct 15 '18 at 13:59

0 Answers0