在AWS Cognito上进行的设置:

嗨,我有一个困难的时间配置COMPOSER_PROVIDER使用亚马逊认知服务的身份验证hyperledger fabric REST服务器。
下面是配置,我试过了,但失败了。
COMPOSER_PROVIDERS='{
"cognito": {
"provider": "congito",
"module": "passport-cognito",
"userPoolID": "EXAMPLE ID",
"clientID": "SAMPLE ID",
"clientSecret": "Q4i_CqpqChCzbE-u3Wsd_tF0",
"region::'ap-northeast-1',
"authPath": "/auth/cognito",
"callbackURL": "http://localhost:3000/auth/cognito/callback",
"successRedirect": "/",
"failureRedirect": "/"
}
}'发布于 2018-03-23 01:28:51
一般来说,Hyperledger Composer支持passport策略here -> http://www.passportjs.org/packages/,这里没有列出吗?
https://stackoverflow.com/questions/49421162
复制相似问题