This is a migrated thread and some comments may be shown as answers.

[Solved] azure mobile services authentication

2 Answers 133 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kareem
Top achievements
Rank 1
Kareem asked on 12 Oct 2013, 05:39 PM
I can't get azure mobile services client.login to work within Icenium. 

Here's what I've tried.
Calling it directly from my main.js.
I get an error saying requests from file:// are not supported. Must be hosted in a server. 

So I tried that. Hosted it on my server and loaded it in an InAppBrowser. Works to get authenticated within the browser, but my icenium app still has no idea what happened. It can't access anything from the InAppBrowser. 

Has anybody done this before? 

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 14 Oct 2013, 08:40 AM
Hi Kareem,

I suspect you're using Icenium Mist i.e. you're trying to make a cross domain request from your browser and therefore you're subject to CORS (Cross-origin resource sharing) limitation. This matter has been discussed in this forum thread, so review it to get better understanding on your options how to proceed.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Iva Koevska
Telerik team
answered on 17 Apr 2014, 03:02 PM
Hi Kareem,

If you're using the in-browser client in Chrome, you can get the Telerik AppBuilder Helper for Chrome which enables Ajax CORS requests for the device simulator to spare you the CORS errors.

You can get it from here. The team plans to bring more improvements in the Helper in the future, so keep an eye on it.

Regards,
Iva Koevska
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
General Discussion
Asked by
Kareem
Top achievements
Rank 1
Answers by
Steve
Telerik team
Iva Koevska
Telerik team
Share this question
or