Does WSO2 ESB (4.5.0) Oauth Mediator support OAuth2.0 Bearer token?

末鹿安然 提交于 2019-12-11 05:09:39

问题


I got an "Error while validating OAuth2 request" message when I send a OAuth2.0 Bearer token to WSO2 ESB (4.5.0) Oauth Mediator.

Does WSO2 ESB (4.5.0) Oauth Mediator support OAuth2.0 Bearer token ? What's the correct request for Oauth Mediator?

My bearer header...

conn = (HttpURLConnection)url.openConnection();
conn.setRequestProperty("Authorization", "bearer " + request.getParameter("accessToken").toString() );      
conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); 

来源:https://stackoverflow.com/questions/13485069/does-wso2-esb-4-5-0-oauth-mediator-support-oauth2-0-bearer-token

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!