-
Notifications
You must be signed in to change notification settings - Fork 71
Description
When universe domain is set and GoogleCredentialsProvider returns a ServiceAccountJwtAccessCredentials, the subsequent validate step will fail with error: The configured universe domain (<some universe domain>) does not match the universe domain found in the credentials (googleapis.com). If you haven't configured the universe domain explicitly, googleapis.com is the default.. This is likely caused by universe domain not implemented in the ServiceAccountJwtAccessCredentials class, so ServiceAccountJwtAccessCredentials returns default universe domain but resolvedUniverseDomain returns the universe domain set by the user: https://github.com/googleapis/sdk-platform-java/blob/main/gax-java/gax/src/main/java/com/google/api/gax/rpc/EndpointContext.java#L167-L169C10