Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing OAuth authentication


The customer sales website is required to implement OAuth authentication where users can use their existing accounts with well-known authentication providers such as Microsoft, Twitter, Facebook, and Google. There is a good overview of OAuth at http://en.wikipedia.org/wiki/OAuth. All the providers are very similar to use; you need to create an app in the respective developer portal, which will give you an ID and a secret key.

The following are links of the developer portals for some popular authentication providers:

Creating a Twitter application

Now, we will look at implementing Twitter authentication with the following procedure:

  1. Go to https://dev.twitter.com/ and click on Sign in at the top-right corner of the screen.

  2. Once signed in, select My applications from the dropdown in the top-right corner:

  3. Click on the Create New...