Open nilsir opened 5 years ago
oauth2插件地址
配置为:
{ "name": "auth2", "options": { "type": "oauth2", "clientId": "3", "clientSecret": "6HHjAGud4I11ZCjC2vlhC84HwzE7kn7nbtBlfnpR", "authServer": "http://ms_passport.test", "authPath": "/oauth/authorize", "tokenPath": "/oauth/token", "infoPath": "/api/user", "redirectUri": "http://192.168.0.200:40001/api/plugin/oauth2/callback", "userKey": "name", "emailKey": "email", "buttonName": "授权登录", "authArgs": { //"response_type": "code" } } }
完了之后响应
{ "errcode": 40011, "errmsg": "请登录...", "data": null }
大佬, 这个问题怎么解决呢
有人解决了这问题了吗?
https://github.com/amazing-gao/yapi-plugin-auth2/issues/2
oauth2插件地址
配置为:
完了之后响应
大佬, 这个问题怎么解决呢