OpenAI 使用开源项目 Ory 为超过 4 亿的周活跃用户提供身份验证服务。
OpenAI uses open source Ory to authenticate over 400M weekly active users

原始链接: https://www.ory.sh/blog/openai-oauth2-server-open-source

开源OAuth2服务器领导者Ory Hydra现已为OpenAI的身份验证基础设施提供支持。最初它是一个旨在替代Keycloak的更轻量级方案的学生项目,早期版本缺乏灵活性。这导致了Ory Fosite库的创建,该库专注于OpenID Connect和OAuth2。认识到构建完整的CIAM系统(客户身份和访问管理)的复杂性后,Ory Hydra精简了其功能,移除了用户管理,转而实现灵活的登录和同意流程。这允许开发者将身份验证无缝集成到现有系统中,而无需迁移用户。 Ory Hydra利用PostgreSQL、MySQL和编译型语言等成熟技术,拥有可扩展且设计简洁的特点。持续的优化,包括客户端数据存储以及与CockroachDB的合作,带来了令人印象深刻的性能——每秒数千个身份验证流程。Ory Hydra的成功突显了清晰的技术选择、降低复杂性、持续改进和强大的社区参与的好处。OpenAI的案例研究现已开放查阅,我们鼓励感兴趣的各方联系我们,探讨Ory Hydra如何支持他们的项目。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 OpenAI 使用开源项目 Ory 为超过 4 亿周活跃用户进行身份验证 (ory.sh) 12 分,来自 aeneas_ory,25 分钟前 | 隐藏 | 过去 | 收藏 | 讨论 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

When I worked on open-source authentication as a student, I never imagined it powering web-scale services like chatgpt.com.

Ory Hydra initially began as a Go-based alternative to Keycloak, avoiding complex JVM dependencies. After releasing the first version in 2015, we quickly saw that the initial design wasn't flexible enough. Building a full Customer Identity and Access Management (CIAM) system from scratch was challenging, prompting a new approach.

In late 2016, we shifted our focus to creating Ory Fosite, a library for building OpenID Connect-compliant OAuth2 servers. This became the foundation of today's Ory Hydra. Recognizing that comprehensive user management would take years—as later confirmed by our work on Ory Kratos—we simplified Ory Hydra by removing user management and developing the Login and Consent flow instead. This allowed developers to integrate OAuth2 and OpenID Connect seamlessly into their existing infrastructure without migrating users.

Today's Ory Hydra leverages proven, reliable technologies—PostgreSQL, MySQL, and compiled languages—with clearly defined domain boundaries and a straightforward, scalable design.

We've consistently optimized Ory Hydra over time. By storing more data client-side, we achieved sustained performance of 800 auth code flows per second on standard PostgreSQL. Working closely with CockroachDB and implementing enterprise-level optimizations, we've reached benchmarks of thousands+ of auth flows per second, sufficient for the world's busiest websites.

We're proud to announce today that OpenAI's OAuth2 infrastructure runs on Ory Hydra. What started with engineering curiosity and a commitment to simplifying authentication has grown into the world's leading open-source OAuth2 server, driven by practical engineering, continuous improvement, and strong community involvement.

Our success highlights the power of choosing clear, scalable technology, reducing complexity, and continually optimizing performance.

Check out our OpenAI case study. Interested in exploring how Ory Hydra can support your project? Get in touch.

联系我们 contact @ memedata.com