File tree Expand file tree Collapse file tree
scribejava-core/src/main/java/com/github/scribejava/core/oauth Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [SNAPSHOT]
2+ * make redirect_uri optional while Access Token requesting on OAuth 2.0 (thanks to https://github.com/computerlove)
3+
14[5.6.0]
25 * remove support for obsolete NetEase (http://www.163.com/) and sohu 搜狐 (http://www.sohu.com/) (thanks to https://github.com/zawn)
36 * add Multipart functionality to JDK Http Client (thanks to https://github.com/eos1d3)
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ protected OAuthRequest createAccessTokenRequest(String code) {
108108 api .getClientAuthentication ().addClientAuthentication (request , getApiKey (), getApiSecret ());
109109
110110 request .addParameter (OAuthConstants .CODE , code );
111- String callback = getCallback ();
111+ final String callback = getCallback ();
112112 if (callback != null ) {
113113 request .addParameter (OAuthConstants .REDIRECT_URI , callback );
114114 }
You can’t perform that action at this time.
0 commit comments