Skip to content

Commit e1cbce1

Browse files
authored
fix: allow empty workforce_pool_user_project (#752)
1 parent 0713356 commit e1cbce1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

oauth2_http/java/com/google/auth/oauth2/IdentityPoolCredentials.java

-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ public boolean isWorkforcePoolConfiguration() {
284284
Pattern workforceAudiencePattern =
285285
Pattern.compile("^//iam.googleapis.com/locations/.+/workforcePools/.+/providers/.+$");
286286
return workforcePoolUserProject != null
287-
&& !workforcePoolUserProject.isEmpty()
288287
&& workforceAudiencePattern.matcher(getAudience()).matches();
289288
}
290289

0 commit comments

Comments
 (0)