Skip to content

Commit d55ff98

Browse files
committed
Improve the comment
1 parent a202c3d commit d55ff98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oauth-common/src/main/java/io/strimzi/kafka/oauth/common/OAuthAuthenticator.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ private static TokenInfo post(URI tokenEndpointUri, SSLSocketFactory socketFacto
102102
throw new IllegalStateException("Invalid response from authorization server: no expires_in");
103103
}
104104

105-
// Some OAuth2 authorization servers don't provide scope in this level
105+
// Some OAuth2 authorization servers don't provide scope in this level,
106+
// therefore we don't need to make it mandatory
106107
JsonNode scope = result.get("scope");
107108

108109
if (isJWT) {

0 commit comments

Comments
 (0)