Login with microsoft
Thursday, April 25, 2013
Microsoft or live or Hotmail email is most popular. Many developer want to provide Microsoft or live or Hotmail access to signing his website. This articles help you to create that's application.
I have created the apps by using php. You can visit the demo here.
I have created the apps by using php. You can visit the demo here.
Process:
1. Create an application on https://manage.dev.live.com/Applications
2. Follow these pictures to create apps on Microsoft.
3. To get the users information you need to permission from users to mictosoft apps. You can know about permission from here http://msdn.microsoft.com/en-us/library/live/hh243646.aspx
4. Then user is presented with Microsoft Live sign-in page, where he/she can enter their credentials and grant permissions to the application.
5. After successfully login you will redirect the user to a separate page.
6. When user is redirected back to callback page; Microsoft also sends a code, this code should be used to retrieve the access token for current user session.
7. You can store the token that can access user info for certain period of time, and when token expires user needs to re-authenticate.Thats all.
Labels: PHP