I’m using OAuth to authenticate a user in my WinRT application (C#/XAML). All works fine, except for the login dialog being shown in a control for which I can’t seem to provide any styling options.
Here’s my (pseudo) code:
var requestUri = new Uri("my oauth request uri"), UriKind.RelativeOrAbsolute);
var callbackUri = new Uri("my oauth redirect uri", UriKind.RelativeOrAbsolute);
var authenticationResult = await WebAuthenticationBroker.AuthenticateAsync(WebAuthenticationOptions.None, requestUri, callbackUri);
The call to AuthenticateAsync makes sure the login form is shown, but it appears centered in a control, showing both horizontal and vertical scrollbars, which doesn’t look nice. I’d like to style this hosting container control of this Web form.
Any ideas on how to do so?
are you connecting to third party service or you own the server side of oAuth? oAuth provider can follow guidelines to make dialog prettier.
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj856911