We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc70f97 commit 2373bffCopy full SHA for 2373bff
jkube-kit/helm/src/main/java/org/eclipse/jkube/kit/resource/helm/oci/OCIRegistryInterceptor.java
@@ -145,7 +145,7 @@ private String parseAccessTokenFromResponse(String responseBody) {
145
if (responseBodyObj.containsKey(TOKEN_KEY)) {
146
tokenFound = (String) responseBodyObj.get(TOKEN_KEY);
147
}
148
- if (responseBodyObj.containsKey(ACCESS_TOKEN_KEY)) {
+ if (StringUtils.isBlank(tokenFound) && responseBodyObj.containsKey(ACCESS_TOKEN_KEY)) {
149
tokenFound = (String) responseBodyObj.get(ACCESS_TOKEN_KEY);
150
151
0 commit comments