Using OpenID for authentication
OpenID allows us to use an existing account to sign in to multiple websites without the need to create new passwords for each website. Thus, this eliminates the need to share personal information with all the websites. There are certain cooperating sites (also known as relying parties) that authenticate user logins, and thousands of sites accept OpenID as an authentication mechanism. OpenID also allows you to control which information can be shared with the websites you visit and register with. Read more about OpenID and relying parties at http://en.wikipedia.org/wiki/OpenID.
Getting ready
Flask has an extension called Flask-OpenID, which makes the use and integration of OpenID with our application very simple and easy. This extension depends on the python-openid library. To install this, we can simply use the following command:
$ pip install Flask-OpenID
We will build over the application from the Authenticating using the Flask-Login extension recipe.