支持loopback框架吗?
Closed this issue · 0 comments
JoeShi commented
在 passport-wechat-public 中有提到说框架支持loopback-component-passport, 但是不知道该怎么用,可以给点提示吗?
这是我在providers里面的配置。
"wechat-login": {
"provider": "wechat",
"module": "passport-wechat",
"clientID": "wx0b1dd3ca76318a6b",
"clientSecret": "b79a000339b2fe3d26205a5355819a84",
"callbackURL": "/auth/wechat/callback",
"authPath": "/auth/wechat",
"callbackPath": "/auth/wechat/callback",
"successRedirect": "/auth/account",
"failureRedirect": "/login",
"scope": ["snsapi_base"],
"failureFlash": true
},