PixelPin Auth OpenID Connect

Step-by-step installation guide

PixelPin Auth OpenID Connect is a Python module for authenticating with PixelPin using OpenID Connect.

PixelPin Auth OpenID Connect allows you to connect your website to PixelPin and let users authenticate using passwordless pictures. With PixelPin Auth OpenID Connect module your clients sign in to your store using their PixelPin pictures. There is no need to complete numerous forms for a successful registration.

Download the example website

Downloading an example website allows you to understand how to install PixelPin Auth OpenID Connect into a Python Flask website. The knowledge you'll learn from installing the module will allow you to install the module onto your own website.

Before starting the installation guide, you'll need the example website from our GitHub page found here.

Installation

First in your favourite CLI type and execute the following command: sudo pip install pixelpin-auth-flask

Then again in your favourite CLI type and execute the following command: sudo pip install pixelpin-auth-flask-sqlalchemy

Configuring the module

Go to flask_pixelpin_auth/settings.py and copy the following code into the Config class:

Next you'll need to create a PixelPin developer account to retrieve your PixelPin Client ID and Client Secret. To create a PixelPin developer account you'll need your Redirect URI, your Redirect URI will be, for example: http(s)://www.example.co.uk/complete/pixelpin-openidconnect. If you haven't created a PixelPin developer account before, a guide can be found here to guide you through the steps to create a PixelPin developer account.

Once you've created your PixelPin developer account, copy and paste the Client ID and Client Secret into the PIXELPIN_AUTH_PIXELPIN_OPENIDCONNECT_KEY and PIXELPIN_AUTH_PIXELPIN_OPENIDCONNECT_SECRET variables respectively.

Next go to flask_pixelpin_auth/app.py and copy the following code to the top of the file: