Skip to content

Commit

Permalink
Merge pull request #705 from Iterable/MOB-7795
Browse files Browse the repository at this point in the history
Remove JWT token generation while user not logged in
  • Loading branch information
Ayyanchira authored Feb 15, 2024
2 parents 02cf973 + b6f0fbc commit 87998de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private void retrieveEmailAndUserId() {
IterableLogger.e(TAG, "retrieveEmailAndUserId: Shared preference creation failed. Could not retrieve email/userId");
}

if (config.authHandler != null) {
if (config.authHandler != null && checkSDKInitialization()) {
if (_authToken != null) {
getAuthManager().queueExpirationRefresh(_authToken);
} else {
Expand Down

0 comments on commit 87998de

Please sign in to comment.