My setup:
- azure mobile service with .net file configured with google
- Telephone Communications (VS2013 with CTP3 Cordon Tools)
- The service works great with an Android device
Problem:
- Ripple authentication does not work (dialogue does not close)
Using ripples, when I call client.login (), an authentication dialog appears, it authenticates, but the popup does not close. And callback done () is never called. The popup url looks something like this:https://localhost:44307/login/done#token=%7B%22user%22%3A%7B%22userId%22%3A%22Google%3A1...
I'm not sure if it should work, but using the html client (downloaded from the management portal) works fine with authentication. I tried turning off the proxies in a ripple and did not evaluate the project without any luck.
Update: I use the default client, nothing special here
<script src="http://ajax.aspnetcdn.com/ajax/mobileservices/MobileServices.Web-1.2.5.min.js"></script>
var client = new WindowsAzure.MobileServiceClient(
'https://my-app-service.azure-mobile.net/',
'jFWBtWeZsRaerKJzkCVC........');
var service = {
isSettingsLoaded: false,
saved: null,
login: function() {
var self = this;
var dfd = $q.defer();
client.login('google').done(function(d) {
}
);
return dfd.promise;
}
}
Thanks for any help
To consider
Larsi
Larsi source
share