From 789d11ba2d6931a18e6cea474cee5cf4b449e646 Mon Sep 17 00:00:00 2001 From: Bastien Jaillot Date: Sat, 28 Mar 2020 10:42:08 +0100 Subject: [PATCH] change default scope separator to space --- src/Provider/Keycloak.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Provider/Keycloak.php b/src/Provider/Keycloak.php index 57cd922..661c7f9 100644 --- a/src/Provider/Keycloak.php +++ b/src/Provider/Keycloak.php @@ -177,6 +177,18 @@ protected function getDefaultScopes() return ['name', 'email']; } + /** + * Returns the string that should be used to separate scopes when building + * the URL for requesting an access token. + * + * @return string Scope separator, defaults to ',' + */ + protected function getScopeSeparator() + { + return ' '; + } + + /** * Check a provider response for errors. *