在线身份验证解决方案

发布于 2024-08-20 07:08:45 字数 175 浏览 9 评论 0原文

我正在构建一个 Python Web 应用程序,我们需要一个用户身份验证解决方案......在帐户注册期间验证用户身份。

我想知道是否有人有集成这样的解决方案的经验。哪些供应商/产品与您合作良好?有什么建议吗?

我在这方面没有任何经验,因此如果需要任何其他信息,请随时告诉我。

提前致谢!

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 experience 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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

|煩躁 2024-08-27 07:08:46

实现验证系统的方法有很多种,概念很简单,但实际构建可能很麻烦,特别是如果您从头开始构建。

解决这个问题的最佳方法是找到一个处理验证方面的框架。 Turbogears 和 Pylons 都能够做到这一点,而不是您自己或使用第三方应用程序。

就我个人而言,我曾使用这两个框架从事过商业项目,并且能够非常轻松地进行验证。

用户验证利用特定的概念和低级技术,例如:互联网的无状态特性、会话处理、数据库设计等……

所以我要说的是,如果你宁愿有一个好的、稳定的框架,那就更好了为你做肮脏的工作。

顺便问一下,您想使用什么框架?这将帮助我给出更详细的答案。

希望这有帮助吗?

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?

傲性难收 2024-08-27 07:08:46

您应该看看 WS-Trust。
Windows Identity Foundation 就是其中的一个实现。但我相信你会发现更多。

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

愛放△進行李 2024-08-27 07:08:46

我们发现RPX对于开发者和用户来说都很容易。

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

翻了热茶 2024-08-27 07:08:46

虽然不是特定于 python,但 Trulioo 提供了非常强大的在线身份验证 API。

您可以与 Trulioo API 集成,立即验证超过 50 亿个人和 2.5 亿人组织。尽管您可以通过多种方式使用 API(也可以使用 Python),但有一些快速启动项目可以使集成变得容易。

如果您使用 npm,可以运行 npm i trulioo 来安装 EmbedID 组件

安装 trulioo-react

npm install tr​​ulioo-react

然后在你的jsx:

import EmbedID from 'trulioo-react/EmbedID'

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

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

handleResponse 是来自供应商的回调,这里是 有关响应结构内容的更多信息

为了避免 CORS 问题,您将需要一个后端服务器;您可以构建自己的或使用 trulioo-react-sample-app

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

只需在 cmd/终端中运行以下命令即可享受旅程。

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

输入图片此处描述


免责声明:我为 Trulioo 工作,并且是 trulioo-reacttrulioo-react-sample-app 项目的作者。

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

enter image description here


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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文