From 707354348a01f3883c965ef8a6f82219532e8187 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 8 May 2013 17:42:15 -0700 Subject: [PATCH] Changed scope to be a delimiter to a space as required by the spec --- src/League/OAuth2/Server/Authorization.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/League/OAuth2/Server/Authorization.php b/src/League/OAuth2/Server/Authorization.php index 216b165a..0025a079 100644 --- a/src/League/OAuth2/Server/Authorization.php +++ b/src/League/OAuth2/Server/Authorization.php @@ -26,12 +26,10 @@ class Authorization /** * The delimeter between scopes specified in the scope query string parameter * - * The OAuth 2 specification states it should be a space but that is stupid - * and everyone excepted Google use a comma instead. - * + * The OAuth 2 specification states it should be a space but most use a comma * @var string */ - protected $scopeDelimeter = ','; + protected $scopeDelimeter = ' '; /** * The TTL (time to live) of an access token in seconds (default: 3600)