Skip to content
Permalink
Browse files
fix: allow empty workforce_pool_user_project (#752)
  • Loading branch information
lsirac committed Sep 29, 2021
1 parent 0713356 commit e1cbce1a5cb269c6613bc6d40f06145bd45099c0
Showing with 0 additions and 1 deletion.
  1. +0 −1 oauth2_http/java/com/google/auth/oauth2/IdentityPoolCredentials.java
@@ -284,7 +284,6 @@ public boolean isWorkforcePoolConfiguration() {
Pattern workforceAudiencePattern =
Pattern.compile("^//iam.googleapis.com/locations/.+/workforcePools/.+/providers/.+$");
return workforcePoolUserProject != null
&& !workforcePoolUserProject.isEmpty()
&& workforceAudiencePattern.matcher(getAudience()).matches();
}

0 comments on commit e1cbce1

Please sign in to comment.