Question on Authentication

Hi,

I am writting an IE Explorer bar that use Live ID to authenticate users. Also I need to be able to get the Messenger Contacts of a user. I looked at the documentation to see how to use the Live Data API and then at the Authentication model for that, do you think I should use the RPS auth mode. If you could someone point me to some sample code to get started on this.

Thanks,

Piali

[413 byte] By [PCHOU] at [2008-2-25]
# 1
You can use the RPS auth mode. Please see http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1686529&SiteID=1 for a code sample.
PermitMe at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 2

Thanks a lot. Also on a related note I am having problems with the Live Client ID SDK sample.

I get this error message:


Windows Live ID Client Sample

pialich@hotmail.com fail to log-on!
Error Msg:
Error Code: 0x0
Error Detail:
Extend Error Code: 0x80048406


OK

Intermittenly I can sign in using the Live Client ID API but it fails 99 percent of the times I try.

Any help would be appreciated.

Thanks!

PCHOU at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 3

PCHOU:

Regarding the problem with the Windows Live ID SDK sample, there is a discussion forum specific to Windows Live ID (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=646&SiteID=1). You can post your question about the SDK sample there. The WL ID forum is monitored by the Windows Live ID team and they should be able to provide you with an answer.

FedericoRaggi-MSFT at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 4

You could also try using the WS-TRUST api. A code sample is available at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1686529&SiteID=1

What language are you developing in?

AshokP at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 5
I am using c#.
PCHOU at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 6
In the sample code the paswword is in clear text. How do I get the password unless I pop up a different UI from the one Windows Live ID Identity.Authenticate shows for signing in?
PCHOU at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 7

1) Could you please copy and paste the code where the password is in clear text? If possible also tell me the URL you downloaded the code from.

2) Are you referring to the Windows Live ID Client SDK (http://www.microsoft.com/downloads/details.aspx?FamilyID=b5a78784-922d-4267-a6e9-5d2ecf1dced8&displaylang=en)?

AshokP at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 8

Hi,

Thanks for helping with this.

The code is what you pointed out for me in the link. Since Identity.Authenticate pops the UI .. I do not have access to it form controls. How can I access the password? Does this make sense.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1686529&SiteID=1

PCHOU at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...
# 9
Looks like I could use Identity.GetTicket to get a auth token.
PCHOU at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Data Development...

Windows Live Developer Forums

Site Classified