Skip to content

Commit

Permalink
Merge pull request #23 from bastnic/feature/scope-separator
Browse files Browse the repository at this point in the history
Change default scope separator to space
  • Loading branch information
mstefan21 authored Oct 14, 2020
2 parents f695340 + 789d11b commit 12fab5d
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 12fab5d

Please sign in to comment.