当我将OAuth2.0 Bearer令牌发送给WSO2 ESB(4.5.0)Oauth Mediator时,我收到“验证OAuth2请求时出错”消息。
WSO2 ESB(4.5.0)Oauth Mediator是否支持OAuth2.0承载令牌?对Oauth Mediator的正确要求是什么?
我的持票人......
conn = (HttpURLConnection)url.openConnection();
conn.setRequestProperty("Authorization", "bearer " + request.getParameter("accessToken").toString() );
conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");