Call the login method, enter valid credentials then get:
You do not have permission to view this directory or page
The url in the pop-up windows is: "https://zzz.azurewebsites.net/.auth/login/aad/callback"
I'm expecting the login method to simply complete and return a user (or auth token etc) as it does when using the MobileServiceClient in my mobile (Xamarin) apps.
this.client = new WindowsAzure.MobileServiceClient('https://zzz.azurewebsites.net');
this.client.login("aad").done(function (results) {
console.log(results);
alert("You are now logged in as: " + results.userId);
}, function (err) {
alert("Error: " + err);
});
I am debugging this web app on my local machine.