文章目錄
優雅處理用戶登錄註冊和管理
工程師的角度來說,將一個互聯網產品從零到一構建出來。每一次都要處理有關用戶管理的問題,主要包括登錄、註冊、權限管理、認證管理、用戶信息等。每一個產品都要建立這麼一套東西,且每一次都要做重複的事情,寫近乎相同的代碼。能不能把用戶管理的相關功能做成可以複用的組件呢?不僅能提高穩定性,提高產品質量,還能加快產品構建速度。
今天! 他來了。
今天就給大家帶來由 ORY 打造的完整 用戶管理 生態系統最重要的一個組件 kratos。
ory/kratos 介紹
Never build user login, user registration, 2fa, profile management ever again!
Works on any operating system, cloud, with any programming language, user interface, and user experience!
Written in Go.
OPEN SOURCE (https://github.com/ory/kratos)
Apache License 2.0
ORY ecosystem : 生態系統
- ORY Hydra is an OAuth 2.0 and OpenID Connect provider.
- ORY Oathkeeper is an Identity and Access Proxy.
- ORY Keto is an access control server.
- ORY Kratos is an identity management server.
聚焦 ory/kratos: 官網
ORY Kratos: Cloud Native Identity and User Management System
聚焦 ory/kratos: 安裝
方法一:跟隨這個安裝指引:
[Installation | ORY Kratos](https://www.ory.sh/kratos/docs/install)
方法二:
Download from
聚焦 ory/kratos: 驗證安裝
在終端輸入命令: kratos