Skip to content

Commit 6512d54

Browse files
sunchunqiangminbi
authored andcommitted
change the code pool.getAppWebDomain to pool.getAppId to fix the issue that isAuthenticated return false for logged user
1 parent 2cb4d84 commit 6512d54

File tree

1 file changed

+1
-0
lines changed
  • aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth

1 file changed

+1
-0
lines changed

aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth/AuthClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public void signOut() {
204204
*/
205205
@SuppressWarnings("checkstyle:hiddenfield")
206206
public boolean isAuthenticated() {
207+
//change the code pool.getAppWebDomain to pool.getAppId to fix the issue that isAuthenticated return false for logged user
207208
AuthUserSession session =
208209
LocalDataManager.getCachedSession(context, pool.getAppId(), userId, pool.getScopes());
209210
return session.isValidForThreshold();

0 commit comments

Comments
 (0)