我尝试将kong api
manager 与oauth2一起使用。根据文档,我在其中进行了 api 注册,并向该服务kong
添加了oauth2插件,但provision_key
没有出现在我的回复中。请帮忙
http://10.20.0.151:8001/apis/myservice/plugins
**Request** : name=oauth2
**Response**:
{
"api_id": "df79169c-dcdb-4b3f-98ea-a19d79f5b5f3",
"id": "657b319c-cfb8-44c5-86c9-e2847c6d98db",
"created_at": 1473007130000,
"enabled": true,
"name": "oauth2",
"config": {
"hide_credentials": false,
"mandatory_scope": false,
"enable_password_grant": false,
"token_expiration": 7200,
"accept_http_if_already_terminated": false,
"enable_implicit_grant": false,
"enable_client_credentials": false,
"enable_authorization_code": true
}
}