开发者

Online identity verification solution

I am building a Python web application and we will need a user identity verification solution... something to verify the users identity during account registration.

I was wondering if anyone had any e开发者_如何学Pythonxperience in integrating such a solution. What vendors/products out there have worked well with you? Any tips?

I don't have any experience in this matter so feel free to let me know if any additional information is required.

Thanks in advance!


There are many different ways to implement a verification system, the concept is quite simple but actually building can be a hassle, especially if you are doing it from scratch.

The best way to approach this is to find a framework that handles the aspect of verification. Turbogears and Pylons are both capable of this rather than doing it yourself or using third party apps.

Personally I have worked on commercial projects using both frameworks and was able to sort out verification quite easily.

User verification utilizes specific concepts and low level technology such as: the internet's stateless characteristic, session handling, database design, etc...

So the point I am making is that it would be better if you rather got a good, stable framework that could do the dirty work for you.

By the way what framework are you thinking of using? That would help me give a more detailed answer.

Hope this helps?


You should have a look at WS-Trust. A implementation of that is Windows Identity Foundation. But I'm sure You'll find more.


We've found RPX easy both for the developer and for users.


While not python-specific, Trulioo provides a very robust online identity verification API.

You can integrate with the Trulioo API and instantly verify over five billion individuals and 250 million organizations. Although you can use the API with various ways (Python as well), there are a couple of quick-start projects that make integration easy.

If you are using npm, you can run npm i trulioo to install the EmbedID component.

Install trulioo-react:

npm install trulioo-react

Then in your jsx:

import EmbedID from 'trulioo-react/EmbedID'

const handleResponse = (e) => {
    // handle verification submission result here ...
}

<EmbedID url='URL' handleResponse={handleResponse} />

handleResponse is the callback from the vendor, here's more info of what's the response structure about.

To avoid CORS issues, you will need a backend server; you can either build your own or use trulioo-react-sample-app:

TRULIOO_BASE_URL=
TRULIOO_USERNAME=
TRULIOO_PASSWORD=
TRULIOO_PORT=
SIGNATURE_ALGORITHM=
PRIVATE_KEY_FILE_PATH=

Simply run the following command in your cmd/terminal and enjoy the ride.

# install the libraries needed
npm i
# start the server
npm start

Online identity verification solution


Disclaimer: I work for Trulioo and I am the author of trulioo-react and trulioo-react-sample-app projects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜