views:

139

answers:

1

Hi,

Does anybody has any pointer regarding this?

We are currently trying with Java SOAP API. The URL used for windows live authentication is:https://login.live.com/RST2.srf

<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wssc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust"&gt;

http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue HTTPS://login.live.com:443//RST2.srf 1265627255 {52B7DF4E-8D6F-49B5-BA7A-2E77B06DF104} 5 1 AQAAAAIAAABsYwQAAAAxMDMz [email protected] jigsaw 2010-02-08T11:07:36Z 2010-02-08T11:12:36Z

http://schemas.xmlsoap.org/ws/2005/02/trust/Issue http://Passport.NET/tb

A: 

Use consent

https://consent.live.com/Delegation.aspx?
ps = Passport service you want (Contacts.update|Contacts.index....)
ru = Return URL
pl = Policy url
app = your appid+timestamp+signature

If you link your users to this, Microsoft Live Service will authenticate your app then send a token as a base64 encrypted parameter to Return URL, you can parse that to get the Delegated Token for the user, their live id, the life-expectancy of the token, the permissions available and various other bits of information

Have a look here for more information

http://msdn.microsoft.com/en-us/library/cc287637.aspx