You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First let me just say thank you for creating this amazing library, now I have been testing some things and I needed to set de 'save' scope and I went on and did this:
But this does not add the save scope, I went on and looking to the code I can see that the variable its not call scopes but scope and you need to add it when you are calling the method to get the authorizationURL, like this:
$reddit->client->getAuthorizationUrl([
'duration' => 'permanent', // "permanent" or "temporary" by default
'scope' => ['identity', 'read', 'save'],
]);
Did I make something wrong? Is this the intended behaviour? Should I make a merge request to update the documentation or maybe Should I try to fix it on the code itself so the code works just like explained on the docs?
Thanks again
The text was updated successfully, but these errors were encountered:
Hello!
First let me just say thank you for creating this amazing library, now I have been testing some things and I needed to set de 'save' scope and I went on and did this:
But this does not add the save scope, I went on and looking to the code I can see that the variable its not call
scopes
butscope
and you need to add it when you are calling the method to get the authorizationURL, like this:Did I make something wrong? Is this the intended behaviour? Should I make a merge request to update the documentation or maybe Should I try to fix it on the code itself so the code works just like explained on the docs?
Thanks again
The text was updated successfully, but these errors were encountered: