fix: Service account credentials properly apply ID tokens

This commit is contained in:
Daniel Azuma authored and GitHub committed 2020-06-16 13:35:39 -07:00
1 parent 9bcac01574
commit a3f3b994ab
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ module Google
# authenticate instead.
def apply! a_hash, opts = {}
# Use the base implementation if scopes are set
unless scope.nil?
unless scope.nil? && target_audience.nil?
super
return
end