amarkevich commented on a change in pull request #646: CXF-8229 OAuth 2.0 
Dynamic Client Registration: Client Update Request
URL: https://github.com/apache/cxf/pull/646#discussion_r388476260
 
 

 ##########
 File path: 
rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java
 ##########
 @@ -429,6 +429,6 @@ public static SignatureAlgorithm 
getClientSecretSignatureAlgorithm(Properties si
     }
 
     public static String convertListOfScopesToString(List<String> 
registeredScopes) {
-        return String.join(", ", registeredScopes);
+        return String.join(" ", registeredScopes);
 
 Review comment:
   https://tools.ietf.org/html/rfc7591#section-4.1.2
   
   >    o  Client Metadata Name: "scope"
   >    o  Client Metadata Description: Space-separated list of OAuth 2.0
   >       scope values

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to