This demonstrates adding live-id authentication to your site using live connect oauth2.0.
-
Create the live application.
- On
App Settingssection, take note of Client ID and Secret. You will need this info in next step.
- On
-
Deploy this repository to Azure by clicking
- Choose
Directory,SubscriptionandLocationappropriately. - Change the
Site Nameto something you can recognize. - Enter live application Client ID as
LiveConnectClientIdvalue. - Enter live application Client Secret as
LiveConnectClientSecretvalue. - Click Next and Deploy to Azure WebSites.
- The site url will be
http://{sitename}.azurewebsites.net/. Note:{sitename}is theSite Nameyou pick above.
- Choose
-
On Api Settings section of the live application. Add below urls as
Redirect URLs- http://{sitename}.azurewebsites.net/login/callback - http://{sitename}.azurewebsites.net/logout/complete
Try browsing to http://{sitename}.azurewebsites.net/.
