Skip to content

Commit

Permalink
change default scope separator to space
Browse files Browse the repository at this point in the history
  • Loading branch information
bastnic committed Mar 28, 2020
1 parent f695340 commit 789d11b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Provider/Keycloak.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 789d11b

Please sign in to comment.