-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Hi,
first: I love your library, it's really easy to create an OAuth2 token controller and application!
I found a small problem: In the docs it says that I can give the config setting 'always_issue_new_refresh_token' to the OAuth\Server constructor, see here:
http://bshaffer.github.io/oauth2-server-php-docs/grant-types/refresh-token/
However, both of these configuration options can be sent in when the server is created using the server's configuration array:
$server = new OAuth2\Server($storage, array(
'always_issue_new_refresh_token' => true,
'refresh_token_lifetime' => 2419200,
));
For me this does not work, and as far as I can see it is not supported in the code. This setting has to be done in the RefreshToken-constructor.
Now there are 2 solutions: correct the docs, or implement this feature. I don't know which is better.
Michael
Metadata
Metadata
Assignees
Labels
No labels