LemonLDAP::NG: Fix default scope name “Multiple scope values MAY be used by creating a space-delimited, case-sensitive list of ASCII scope values.” — https://openid.net/specs/openid-connect-basic-1_0.html#Scopes Change-Id: I48a07a6a379480821a2c3d0626573c3b746f6d09
diff --git a/src/main/java/com/googlesource/gerrit/plugins/oauth/LemonLDAPOAuthService.java b/src/main/java/com/googlesource/gerrit/plugins/oauth/LemonLDAPOAuthService.java index e4e6723..e213cc3 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/oauth/LemonLDAPOAuthService.java +++ b/src/main/java/com/googlesource/gerrit/plugins/oauth/LemonLDAPOAuthService.java
@@ -62,7 +62,7 @@ service = new ServiceBuilder(cfg.getString(InitOAuth.CLIENT_ID)) .apiSecret(cfg.getString(InitOAuth.CLIENT_SECRET)) - .defaultScope("openid+email+profile") + .defaultScope("openid profile email") .callback(canonicalWebUrl + "oauth") .build(new LemonLDAPApi(rootUrl)); }