Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configurable access_lifetime and refresh_token_lifetime for default JWT tokens #598

Merged
merged 1 commit into from May 26, 2015

Conversation

quintonparker
Copy link

Allows the default access_lifetime and refresh_token_lifetime values to be overriden when default JWT tokens are implied in the following OAuth2\Server configuration

$server = new OAuth2\Server($storage, array(
    'always_issue_new_refresh_token' => true,
    'access_lifetime' => 316,
    'refresh_token_lifetime' => 499,
    'use_jwt_access_tokens' => true
));

Without this patch the specified access_lifetime and refresh_token_lifetime values is ignored

bshaffer added a commit that referenced this pull request May 26, 2015
Allow configurable access_lifetime and refresh_token_lifetime for default JWT tokens
@bshaffer bshaffer merged commit 51cd6fa into bshaffer:develop May 26, 2015
@bshaffer
Copy link
Owner

Good catch, thanks!

@bshaffer bshaffer mentioned this pull request Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants