locked
Why won't the Web Authentication Broker go full screen? RRS feed

  • Question

  • How are you supposed to get the WAB to stretch horizontally? There don't seem to be any visual controls and the default looks pretty ugly.
    Friday, August 3, 2012 6:09 PM

Answers

All replies

  • It's not a visual control, it's a completely separate process that you have no control over:

    http://msdn.microsoft.com/en-us/library/windows/apps/Hh750286.aspx

    The broker creates a new web host process in a separate app container


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, August 3, 2012 6:40 PM
    Moderator
  • I've found the easiest approach is to use authentication request URIs tailored for popup experiences.  Most large SSO/OAuth providers have these in some form, e.g. for Facebook you can pass the "display=popup" query parameter, for Live you can pass "pcexp=false" (so for your example it would be https://login.live.com/login.srf?pcexp=false), etc.

    Note for Live in particular there is also Live Connect, which can make working with Live services much easier:

    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh770846.aspx

    Friday, August 3, 2012 7:41 PM
  • How are you supposed to use these popups with Windows 8 apps. I've been told by a security professional at Microsoft that the WAB is the official login story for Windows 8 applications. I don't understand why it doesn't use all the screen room to simply stretch horizontally. It seems very poorly designed.
    Wednesday, August 8, 2012 4:09 PM
  • You don't need to use a popup control - the examples I gave all work with WAB.  For your example (which appears to be login.live.com), simply pass this auth URL to WebAuthenticationBroker:

    https://login.live.com/login.srf?pcexp=false

    This will display a suitably formatted page.

    • Marked as answer by bccollin Wednesday, August 8, 2012 6:32 PM
    • Unmarked as answer by bccollin Monday, August 13, 2012 9:47 PM
    Wednesday, August 8, 2012 5:17 PM
  • This does work for live but unfortunately the end goal of my application is to move to microsoft internal federation services. Attempting to display that page in my application is very ugly as it is much wider.
    Monday, August 13, 2012 9:48 PM
  • bccollin, I sound off on the broken nature of WAB here as well: http://social.msdn.microsoft.com/Forums/en-GB/winappswithhtml5/thread/4cb737d4-9135-45d7-adb1-84b997407e5c?prof=required

    I don't know why we aren't getting any love on this when we several developers are saying that WAB doesn't play well with the majority of OAUTH scenarios. 

    Tuesday, August 14, 2012 4:08 PM
  • bccollin, I sound off on the broken nature of WAB here as well: http://social.msdn.microsoft.com/Forums/en-GB/winappswithhtml5/thread/4cb737d4-9135-45d7-adb1-84b997407e5c?prof=required

    I don't know why we aren't getting any love on this when we several developers are saying that WAB doesn't play well with the majority of OAUTH scenarios. 

    Any sign of this being fixed in the final release yesterday?
    Thursday, August 16, 2012 3:11 PM
  • I am installing RTM this afternoon.  I'll try it out and report on where thing stand.
    Thursday, August 16, 2012 4:51 PM
  • Just ran RTM and confirmed that WAB doesn't fix sizing issues.  WAB=Windows Authentication Broken.
    Thursday, August 16, 2012 7:38 PM
  • So does anyone have any tips on how I am supposed to handle Microsoft's ADFS authentication? I have a project that needs to enter the certification process asap but this screen is making my app completely unusable. I'm not sure how to proceed here.

    Edit: I'm about to try faking a login to my ACS by using a webbrowser control and sending it to my webpage on azure... which requires auth and therefore redirects to my authentication page. It will then return my login token via a Url parameter which I can hopefully pick up in the web browser control.

    • Edited by bccollin Tuesday, August 21, 2012 2:52 PM
    Tuesday, August 21, 2012 2:34 PM
  • Similar layout problems for users of the Azure Marketplace sign in.


    • Edited by benaw Monday, August 27, 2012 4:22 PM
    Monday, August 27, 2012 4:21 PM
  • Some users are reporting difficulty entering their Microsoft account and password on their Windows 8 devices when using the touch keyboard on the Marketplace sign in above.

    We did some investigation and were able to reproduce this on a Windows 8 tablet using touch. It appears to relate to the grey 'input prompt text', and where in the textbox the user first touches.  To the right it appears ok but touching the grey wording there seems to be a problem then entering text.

    Can this page be quickly investigated and fixed as high priority as the most intuitive action for a user is to touch the grey text part.

     

    Monday, November 5, 2012 7:01 PM
  • I've experienced the same issue with the WAB/Windows Live sign in on a touch device since CP. I'm getting negative feedback on my published application due to the problem, would be great to see it fixed.
    Saturday, November 24, 2012 4:15 PM
  • Hi the problem is more extensive after further investigation.

    The WebView control exhibits the problem.

    All Microsoft site sign in pages I've looked at exhibit this problem.

    Twitter http://www.twitter.com also. But the Facebook sign in does not!

    It is not just a sign in page issue, although this is where it is seen most commonly, it relates to any data entry input where a placeholder has been constructed in html a certain way (the crucial thing). Note if the HTML 5 attribute is used this does not exhibit the problem.

    Bad for users of Surface.

    I agree.

     

    Saturday, November 24, 2012 4:47 PM