commit | ee1d38e6d6531db29e6293cac85438740a111a87 | [log] [tgz] |
---|---|---|
author | Guilhem Moulin <guilhem@libreoffice.org> | Thu Jun 25 16:21:19 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 16:48:10 2020 +0200 |
tree | 370f34b2120fbcba593bdee22fd4b9dea9649d93 | |
parent | e49fb98f51e7fe061b195824d0b8cac7acdba85b [diff] |
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)); }