The REST server uses the open source Passport authentication middleware.
Administrators of the REST server must select Passport strategies to
authenticate clients. Multiple Passport strategies can be selected, allowing
clients of the REST server to select a preferred authentication mechanism.
Passport includes a wide range of strategies (300+ at the time of writing),
including a mix of social media (Google, Facebook, Twitter) and enterprise
(SAML, LDAP) strategies.
您需要配置适当的 passport-strategy 以生成将由REST API SERVER使用的 access_token .
1 回答
您能否告诉我们您的Web应用程序身份验证使用的策略是什么?
最近更新的文档@ https://hyperledger.github.io/composer/latest/integrating/enabling-rest-authentication
您需要配置适当的
passport-strategy
以生成将由REST API SERVER使用的access_token
.