Skip to content

Commit f058943

Browse files
authored
Merge pull request #97 from itaym2/fix-clientSecret-usage
Use correct clientSecret param in android native refresh implementation
2 parents d3407aa + 463bfed commit f058943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactlibrary/RNAppAuthModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public void onTokenRequestCompleted(@Nullable TokenResponse response, @Nullable
354354

355355

356356
if (clientSecret != null) {
357-
ClientAuthentication clientAuth = new ClientSecretBasic(this.clientSecret);
357+
ClientAuthentication clientAuth = new ClientSecretBasic(clientSecret);
358358
authService.performTokenRequest(tokenRequest, clientAuth, tokenResponseCallback);
359359

360360
} else {

0 commit comments

Comments
 (0)