azure mobile services authentication

3 posts, 0 answers
  1. Kareem
    Kareem avatar
    2 posts
    Member since:
    Oct 2013

    Posted 12 Oct 2013 Link to this post

    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. Steve
    Steve avatar
    10941 posts

    Posted 14 Oct 2013 Link to this post

    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.

    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.
  3. Iva Koevska
    Iva Koevska avatar
    286 posts

    Posted 17 Apr 2014 Link to this post

    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.

    Iva Koevska

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

Back to Top