使用Keycloak有哪些优势?

huangapple go评论70阅读模式
英文:

What are the advantages of using Keycloak?

问题

使用第三方服务(如Keycloak)进行用户管理相比在自己的数据库中从头构建有哪些优势?

英文:

What are the advantages of using a 3rd Party service like Keycloak for User Management instead of building it all from Scratch within the own database?

答案1

得分: 3

第一个优点是它是开源的。
它为身份管理提供了开箱即用的解决方案。
你可以进行配置,然后忘记它。
它还提供了诸如多因素认证(MFA)以及包括TOTP和HOTP在内的安全解决方案。
用户管理也很好,你可以创建角色并将其映射到用户,并根据角色赋予权限。
你可以直接依赖Keycloak,并将用户(从用户界面)重定向进行登录,或者你可以使用自己的API调用Keycloak进行身份验证。

我还可以继续,但你已经有了想法 使用Keycloak有哪些优势?

英文:

The first advantage is that it is opensource
It gives you out of the box solution for Identity management.
You can configure it and forget it.
It gives you security solutions like MFA as well including TOTP and HOTP
The user management is good as well, you can create roles and map it to users and give permissions based on roles.
You can directly rely on keycloak and redirect user (from ui) for login purpose or you can use your own api and call keycloak for authentication.

I can go on but you get the idea 使用Keycloak有哪些优势?

答案2

得分: 2

显而易见的一个优点是,设置Keycloak要比自己构建更快。这在涉及复杂用户模型的大型应用程序中尤为明显。它还使得未来适应新的身份验证机制更加容易。

英文:

The obvious one is that it is much faster to set up keycloak than to build it all yourself. This is especially true for bigger applications with complex user modells. It also make it easier to adapt new authentication mechanisms in the future.

huangapple
  • 本文由 发表于 2020年9月25日 16:58:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/64060978.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定