Weavor


I work with VB.NET my application has several diffrent browser controls in it and I try to use the Live ID sdk to sign in. Basicly when my app first loads it requests the user to sign in, after that it navagates 3 seprate browser controls to 3 locations all of which require a Live ID, but each one will ask me to sign in individully what am I doing wrong



Re: Logging in!!!!

Danny Thorpe MSFT


Weavor,

I'm still working to get an official response for you, but I believe the answer will be that the LiveID SDK doesn't support what you're trying to do, trying to bring multiple browser sessions under one LiveID client app umbrella. I'm not sure that the LiveID SDK tokens generated for the stand alone client app can affect or apply to the browser sessions (since browser sessions don't affect each other either).

-Danny







Re: Logging in!!!!

Weavor

I have been checking out several diffrent things about the login sessions and watching how things work. I have noticed that the Live Messenger will log you in and keeps you logged in accross sites and throughout browser sessions. Basicly although I logg in with Live ID I am trying to keep authenticated when using an embeded browser. I am trying to work with it with an MSE but they cant give me the answers either. SO why should we authenticate with Live ID with our apps if our Apps can't access the Live service





Re: Logging in!!!!

Josh Brown - MSFT

Weavor, you mention that you are using the "Live ID SDK", could you be more specific What SDK are you using If you are using the Client SDK, you can use the OpenAuthenticatedBrowser() method to open a pre-authenticated browser window to a Windows Live Service website. If you can provide a little more information I may be able to help you, or point you to someone who can.

Thanks,






Re: Logging in!!!!

Weavor

Yes I am using the Rich Client SDK, I do know about the openAuthentecatedBrowser() , However my problem is that the application I am building has embeded browser windows it is using the webbrowser control from VS.Net and I want to Authenticate the embeded control not open an outside browser window. Sorry for the misunderstanding.




Re: Logging in!!!!

Josh Brown - MSFT

Thanks for the clarification! I will research this and get back to you.




Re: Logging in!!!!

Josh Brown - MSFT

Weavor, have you looked at the GetNavigationData() method OpenAuthenticatedBrowser() as you pointed out simply opens a new instance of the default browser, and is only compatible with stand-alone IE6+. The GetNavigationData() method is there to support other scenarios. Here is a quote from the SDK topic "Opening An Authenticated Browser Window":

To open an authenticated browser using browsers other than Internet Explorer requires your application to invoke the execution of whatever browser is installed on the end user's computer. Additionally, you must ensure that the browser sends the appropriate authentication data in a form post to the appropriate Windows Live ID site or service URL. For more information or to obtain service-specific URLs, see the documentation for that service.

How you implement these features will vary depending on the exact configuration of the end-user's computer. The authentication data that the Web service requires can be obtained by calling the GetNavigationData method.

Would it be possible to use a similar method to authenticate embedded browser controls If you try this, please let me know the outcome.