File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
src/main/java/com/codepath/oauth Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 88
99 GROUP = ' com.codepath.libraries'
1010 BASE_VERSION = " 1.2"
11- VERSION_NAME = " 1.2.2 "
11+ VERSION_NAME = " 1.2.3 "
1212 POM_PACKAGING = " aar"
1313 POM_DESCRIPTION = " CodePath OAuth Handler"
1414
Original file line number Diff line number Diff line change @@ -122,11 +122,9 @@ public void connect() {
122122 public void authorize (Uri uri , OAuthAccessHandler handler ) {
123123 this .accessHandler = handler ;
124124 if (checkAccessToken () == null && uri != null ) {
125- String uriServiceCallback = uri .getScheme () + "://" + uri .getHost ();
126- // check if the authorize callback matches this service before trying to get an access token
127- if (uriServiceCallback .equals (callbackUrl )) {
128- client .fetchAccessToken (getOAuth1RequestToken (), uri );
129- }
125+ // TODO: check UriServiceCallback with intent:// scheme
126+ client .fetchAccessToken (getOAuth1RequestToken (), uri );
127+
130128 } else if (checkAccessToken () != null ) { // already have access token
131129 this .accessHandler .onLoginSuccess ();
132130 }
You can’t perform that action at this time.
0 commit comments