我什么时候应该使用 Keycloak Gatekeeper?

Sha*_*ani 6 node.js oauth-2.0 openid-connect keycloak keycloak-gatekeeper

我对这个身份验证的东西真的很陌生。因此,据我了解,Keycloak 用于身份验证和授权,要使用它,您需要所谓的适配器。在谷歌搜索并阅读他们的文档(https://www.keycloak.org/docs/latest/securing_apps/index.html)后,我了解到 Keycloak Gatekeeper 是一个通用适配器。

所以我的问题是:

  1. Keycloak Gatekeeper 是否仅在使用 Keycloak 不提供适配器的语言进行开发时使用?
  2. 如果我要使用 Node.js 制作应用程序,使用提供的 Node.js 适配器而不是 Keycloak Gatekeeper 对我来说更好。