Authentication after migrating to App Services Mobile App: uid vs sid

I've migrated form Azure Mobile Services to the new App Services Mobile App, and I'm using the new AMS 2.0.0-beta on the client-side.
I have two providers (currently) implemented for OAuth 2.0: Google and Twitter.
Previously, I was able to get the provider token via a claim in the principal on the server, and there would be a uid (unique id) claim that would be either "Google:123456789" or "Twitter:123456789010" (or however many alphanumerics). I
believe the MobileServiceClient.UserId also exposed this as well.
Now, after I've migrated to the new App Services Mobile App (and I'm using the Preview Portal now, which for the most part is pretty awesome), there is no longer a uid claim, but rather a single sid (session id) claim, something like: "sid:ABCDEFGHIJKLMNOPQRSTUVWXYZ",
no matter which provider I log in with. When I looked on the client-side at the
MobileServiceClient.UserId value, it also gives this "sid" value.
The point is that previously the uid token could uniquely identify a user. Now it is the same for all users across all providers!
How can I get the provider token with the App Services Mobile App that I was previously able to get with Azure Mobile Services?
Also, could anyone point me to the source code for the Azure Mobile Services 2.0.0-beta? I can't seem to find it on GitHub.
ibGib

I ended up
posting this question on StackOverflow and I have answered it there as well (I'm having difficulties attaching the picture here).
ibGib

Similar Messages

  • Include Air ( desktop app ) inside Mobile app permited by Apple / Android?

    Include Air ( desktop app ) inside Mobile app permited by apple / android?
    This is my question....:
    I need a "viewer" app run in a desktop machine... via p2p... ( done and working )
    I will like to include it in my iOS / Android Release, an then by example move it to the documents folder.
    Run iTunes and then copy the file from the shared document folder.
    Is this permited by apple / android / adobe ?
    Thanks....

    just tracing some kind of tests I'm doing.
    A couple of hours ago I left working 2 instances of my Application, leaving alone this computer: one instance is the Mac desktop version and the other one is the Web version. In this case both versions were running on the same computer (an iMac with OS X Mavericks):
    1) the AIR/Mac version have been recompiled yesterday with the new AIR4(.0.0.1619 - AIR 3.8 is used to fall in a equivalent way - no changes)
    2) the Web version have been compiled targeting FP 11.8 and it is running on Chrome browser with PepperFlash NOT disabled (which reports version MAC 13.0.0.80, the latest)
    I left working both the Mac and the Web versions of the Application opened on the pc screen (= not minimized) but kept totally behind some Terminal/ssh windows (= not on OS focus and the system is not asked to update any screen area of the app for sure).
    I came back after about 2 hours and I got the browser version connected&running (but it is not a rule) and I also found the AIR-based Mac version disconnected (uau, usually I found the app disconnected but with the screen freezed at last user look ->) which rapidly reconnects upon my click on the Apple dock icon (bring to front).
    Why these different behaviours? I ask to myself.
    The two versions of the software are TOTALLY the SAME application: except for the first Flash file (a 24kb swf file for the Web version and a 170kb dmg file for the Mac version), basically a platform-dependent loader, both versions loads the same remote swf modules. Of course t is AIR (or my first Flash file?).
    I attach the source code of the Mac version of the [first file] AIR-based application at the following url:
    http://92.63.230.100/others/others/wtstarter_mac.as.txt
    _Adobe_, is it a bug? isn't it?
    mc

  • Welcome to the Azure App Service API Apps Preview Forum!

    Welcome to the forum! This forum is for support of our customers who are using API Apps. Feel free to post any questions you have related to API Apps.
    The Azure App Service API Apps Team
    Jim Cheshire | Microsoft

    Hey Mikael!
    I actually was struggling through pretty much the same things at the same time that you were.
    The EventTriggered extension is actually in the Microsoft.Azure.AppService.ApiApps.Service namespace, so without a using directive for that it will not be happy.
    I created a library to help with the metadata generation required for Triggers, and did a write-up on exactly what it takes to create both a polling and push trigger (with a few more samples) here: https://github.com/nihaue/TRex#building-a-polling-trigger-api-app
    Hopefully having that combined with
    the official docs, and also
    Sameer's sample can get you on the right track.
    Hope that helps!

  • After Migration AD users do we need to keep SID history ?

    Hi Team,
     After Migration AD users do we need to keep SID history ?
     what are all the parameters need to verify post-migration ?
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing! http://sesaitech.blogspot.in/

    SID history is really more of an aesthetic problem.
    If you have users with lots of SidHistory entries and lots of Groups, SidHistory will contribute to Kerberos Ticket bloat, so you may wish to clean it up for that reason.
    You won't find a list of definitive things to check because SidHistory may affect your users ability to access ANY domain resource - File Share, Websites, databases etc.
    If you are reasonably confident that you have migrated all your resources, you have good backups and a process to do a SID History restore (requires authoritative restore of AD users which will also restore passwords)  I would suggest staging out your
    SidHistory removal and watching for spikes in helpdesk calls.
    Good Luck!
    Shane

  • Introduction to PhoneGap Build - Building your first app | Building Mobile Apps with PhoneGap Build | Adobe TV

    In this video you will learn how easy it is to build and update your first mobile app using web technologies with the Adobe PhoneGap Build cloud service and learn about two new great improvements to speed developer workflow!
    http://adobe.ly/18qDiVR

    I just installed the latest Edge Code but there's no PhoneGap build icon as seen in the video.  I don't see any way to turn this feature on.

  • Azure App Service API app triggers feedback

    Hi
    I am kinda new to this and when I tried to build a trigger as defined in the article
    http://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet-triggers/ I simply do not seem to know what I am doing wrong.
    I get a lot of compilation errors just using the code in a ASP Net Web Applicaton project, using the Azure API App template. I tried to place the code in a controller but then I get complation errors on a couple of places. The most noticable:
    return
    this.Request.EventTriggered(new{
    files = touchedFiles });
    The EventTrigger extension method does not seem to exist. What am I doing wrong?
    //Mikael Sand - <a href="http://mikaelsand.se"> Blog</a> Enfo Zystems Sweden

    Hey Mikael!
    I actually was struggling through pretty much the same things at the same time that you were.
    The EventTriggered extension is actually in the Microsoft.Azure.AppService.ApiApps.Service namespace, so without a using directive for that it will not be happy.
    I created a library to help with the metadata generation required for Triggers, and did a write-up on exactly what it takes to create both a polling and push trigger (with a few more samples) here: https://github.com/nihaue/TRex#building-a-polling-trigger-api-app
    Hopefully having that combined with
    the official docs, and also
    Sameer's sample can get you on the right track.
    Hope that helps!

  • After i down loaded the mobile app it is not allowing a sync in preferences

    I down loaded the firefox app for my iphone, and then downloaded the add on for my mac. however it did not put it in my preferences for the synce

    You need to Set Up Sync before you can use it. <br />
    https://support.mozilla.com/en-US/kb/how-do-i-set-up-firefox-sync
    See this for adding a 2nd or subsequent device. <br />
    https://support.mozilla.com/en-US/kb/add-a-device-to-firefox-sync

  • Deleting Aperture After Migrating to the New Photos App

    I've just migrated my photos from Aperture to the new Photos application. Can I delete Aperture now without worrying that it will delete the shared library?

    In theory yes, but I would ensure I had a backup of the library (and Aperture) on external drive or a clone of the current disk.
    Personally I would hold off deleting anything at this stage until you've managed to throughly test Photos to see it both meets your needs and the library has migrated properly.

  • Converting desktop app to mobile app

    hi i have developed a simple java desktop app for making currency conversions, now i want this to work on my mobile, what are the steps to take to convert it, or do I have to start from scratch? thanks

    I think it'll be easier to start from scratch. Java ME classes, even those with the same package and class names, are not the same as their Java SE big brothers.
    Here's a link to a [J2ME Tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html].
    If you have any Java ME related questions, please post them to the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    luck, db

  • Splash screen for a desktop app (non mobile app)

    I'm using fb4linux, 4.5.1A SDK, I'm developing a non-mobile (i.e. desktop application) and I would like to add a splash screen to it.
    I've added mobilecomponents.swc to the library path, and the application starts like this:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       width="400" height="400" xmlns:local="*"
       preloader="spark.preloaders.SplashScreen"
       splashScreenImage="@Embed('assets/splashscreen.png')"
       splashScreenMinimumDisplayTime="1500">
    When I debug it, no splash scren is shown and I get the following error:
    ReferenceError: Error #1065: Variable flash.display::StageAspectRatio is not defined.
        at spark.preloaders::SplashScreen/prepareSplashScreen()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:340]
        at spark.preloaders::SplashScreen/Stage_resizeHandler()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:407]
    The problem seems to be triggered by the line that sets the preloader, because if I remove it, the error is gone (although no splash screen is shown either).
    Any ideas how to make it work?
    Thanks!

    import [install folder]\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\mobile to your build path
    Note: You must add the frameworks\libs\mobile\mobilecomponents.swc to the library path of the application to support the splash screen in a desktop application.

  • Question About what Azure Services I should be using for mobile app with website.

    Hello,
    I am wondering what Azure service would be best for my new application. I need to have an SQL database that I can connect to and modify from both a website and a mobile app preferably WP8 and Android. I was not really understanding whether I would need a
    mobile service or normal SQL database. Which should I use or am I completely off track?
    Thanks,
    Matthias

    Mobile Services uses SQL Database, nothing special on that SQL Database, its just like any other  "normal" SQL Database.
    Mobile Services provides "back-end services" that simplifies accessing SQL Database, Notification services, authentication, etc...
    Let's assume you don't use Mobile Services, to use SQL Database, you would need your app (both mobile and web) to connect to the database. In practice, you will not want to expose your SQL database directly, so you'd end-up writing some kind of a "facade"
    that your app will access instead of directly connecting to the database.
    Instead of writing that "facade", Mobile services provides that for you (you still have to write code though, but less than what you need to write if you're rolling your own).
    Both your web app and mobile apps can share the same SQL database (pay attention to the mobile service schema).
    To help you decide, ask yourself what other features will your mobile app require? Authentication? Notification? etc... are you prepared to write those on your own or use various libraries instead of one?

  • OBIEE11g-Mobile App Designer Point Of View

    Dear All,
    Is it possible to keep dynamic Column selector in OBIEE Mobile App Designer as like Analytics ?
    Thanks in advance.

    Hi
    I was facing the same error after installing the Patches for (Mobile app Designer)  and so many restarts of all OBIEE components as well as the server,
    nothing worked except the same Error 404 for the last couple of days.
    then here goes the path for getting the issue fixed juts now.
    1: Verify the Patches applied for the Mobile app Designer
    2: followed the blog step by step for the process to get completed.
    OBI Mobile App Designer Installation | OBIEE by Shiva Molabanti
    3:after applying the patches and deploying theOBI Mobile App Designer (MAD) manually using WebLogic configuration  the bounce all the services on the OBI (all components)
    4:the Run the Security Configuration as described in the blog . it wil give error if the services of console is not started as it awaits for the port 7001 of weblogic
    5: after the successful completion of the security configuration restart all bi components on the OBI side and wiat for all the services to come up
    now i logged in and click on New Mobile APP it worked as expected and it resolved the issue.
    Thanks
    BSK

  • App Service iOS "get started" demo client

    Is there a version of the iOS "get started" demo client app written in Swift?
    http://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-ios-get-started-preview/#create-a-new-ios-app
    It seems the only choice is Objective-C.
    Thank you!
    Robert 

    Thank you for getting back to me so quickly!
    When I signed in to Event Viewer, I got an error message that my event services weren't running, so I downloaded this fix from Microsoft: http://support.microsoft.com/kb/2478117
    That started my Event Services and allowed me to sign into Event Viewer and clear my logs. They are all clear now.
    Then I repaired my version of 11G and rebooted, but am still unable to connect to the database or the Get Started URL.
    Here are my statuses:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 16-NOV-2012 16:31:35
    Uptime 0 days 0 hr. 2 min. 30 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\CONNECTLAP28\liste
    ner\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CONNECTLAP28.awi.state.fl.us)(PORT=1
    521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> exit
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Nov 16 16:34:42 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    At least it's a different error message now! Any ideas?
    Edited by: 971714 on Nov 16, 2012 1:40 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM

  • Will (does) Adobe support Microsoft's new Surface 3 in terms of mobile apps?

    I just pre ordered the Surface 3 as a replacement for an iPad 2.  I'm hoping that Adobe will migrate some of the mobile apps that I currently enjoy over to the Windows 8 platform.  I know that I can run the full versions of Photoshop, Illustrator ect. but it's the Adobe Color, Brush, Shape and the like that I'm interested in.

    Hi Grey,
    We are glad that you liked the mobile apps and you wanted them to try on Surface pro 3. We would like to inform you that our engg. team is working hard spread this mobile experience to all the mobile device users, not just IOS users.
    We would not be able to provide any information around Mobile apps on Surface pro 3, however, you would be able to enjoy Mobile apps on Android devices in near future.
    Thanks,
    Atul Saini

  • Mobile App Activation Fails

    Hi, I am trying to test the MFA Mobile App on my Android phone. Phone based authentication is working fine but the mobile app fails to activate. My server is Windows 2008 R2 SP1 with MFA Server 6.1.1.15297.
    I can log into the User Portal (with phone based authentication), generate an activation code, scan the QR barcode but then the app always returns "Activation failed, Please check the activation code to ensure it is correct. Error details: Server Error"
    The URL in the mobile app is definitely correct. I am using self signed certificates with a CN equal to the URL. I have imported the certificate into the Trusted Root store on the server, my laptop client, and I tried to import it to the android 4.2.2 phone.
    It says it imported it but then I can't see it in the list. None of this seems to have made any difference.
    The MultiFactorAuthSvc log contains:
    2014-04-01T14:46:24.453125Z|i|1352|3168|pfsvc|Phone App activation code '864598222' generated for user 'Andy.Pattrick'
    2014-04-01T14:46:48.937500Z|e|1352|3168|iisabo|WMI error: -2147217394
    2014-04-01T14:46:49.484375Z|e|1352|3960|credStore|Couldn't read credential identified by 'PfSmtp'. Element not found. (0x00000490 = 1168)
    I googled those errors but came up pretty empty handed
    Does anyone have any ideas? Has anyone got this working on Android using self signed certificates. I only have 19 days left on the trial and I need to establish whether the mobile app will work so I'm keen to get this working.
    Cheers Andy.

    Got the same issue and found the solution:
    Issue: MFA activation works on Windows phone and iPhone , but not on the Android. This case is related with the Lync app issue with Android.
    If you have add the correct http binding with the certificate hash than Lync mobile on android will work.
    but in our case we used unique certificate and than MFA activation did not work either. So as you can only add one ipport0.0.0.0:443 related with the certificate has, you can NOT use unique certificate for ADFS federation and MFA activation on the same server
    using a single IP address.
    We found two solutions:
    1) Either use a wildcard or SAN certificate
    2) Bind the unique certificate namen with a unique ip address.

Maybe you are looking for

  • How to migrate Mail & Contacts from backup disk of old PPC iMac (10.3.9) to new iMac (10.8.1)?

    How to migrate Mail & Contacts from backup disk of old PPC iMac (10.3.9) to new iMac (10.8.1)?  The Firewire disk is connected and have been able to copy across document folders etc, but Migration Assistant doesn't find the disk so that method no goo

  • Adobe Reader 9.5.4 comes up with error 1402

    I am trying to update Adobe Readers 9.5.4 to the latest version, it comes up with error 1402 could not open key HKEY_LOCAL_MCHINE 32\software\classes\CLSID........ Type lib. Verify that you have sufficient access to that key. or contact your support

  • ACS 3.3.3 UCP special characters fail

    Some special characters fail when passwords are changed via UCP, but are okay if I enter them directly into ACS. Any ideas on where to start? Problem always seen with the & character, but the $ character seems to be position dependent.

  • Creating albums in iPhoto

    Hi I hav used the camera attachment to download photos to iphoto and want to create an album from the pics combing photos from different days. iPhoto just seems to create events based on dates. How can I combine different date files into one album?

  • How do you make an object stay still when you have put a camera in??

    Hey everyone, I seriously need some help! I have a newspaper page set up in Motion which includes lots of different text layers. these bits of text stay where I have put them when I add a camera movement which is great but when i add a shape like a s