Skip to content
Permalink
Browse files

Merge pull request #67 from tuzzmaniandevil/master

updated OAuth2 helper to not included spaces when generating the scope
  • Loading branch information...
bradmac committed Sep 29, 2015
2 parents e6183be + c83d28e commit b41072be3c44eb994c5a1c83c35a33540ae6c261
Showing with 1 addition and 1 deletion.
  1. +1 −1 milton-server-ce/src/main/java/io/milton/http/http11/auth/OAuth2Helper.java
@@ -50,7 +50,7 @@ public static URL getOAuth2URL(OAuth2Provider provider) {

String oAuth2Location = provider.getAuthLocation();
String oAuth2ClientId = provider.getClientId();
String scopes = Utils.toCsv(provider.getPermissionScopes());
String scopes = Utils.toCsv(provider.getPermissionScopes(), false);
try {
OAuthClientRequest oAuthRequest = OAuthClientRequest
.authorizationLocation(oAuth2Location)

0 comments on commit b41072b

Please sign in to comment.
You can’t perform that action at this time.