Closed (fixed)
Project:
Simple OAuth (OAuth2) & OpenID Connect
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2017 at 15:51 UTC
Updated:
24 Mar 2017 at 05:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
webankit commentedComment #3
seanbBeing able to change the TTL for the refresh token would be nice indeed. Can we enable this in the interface?
Patch is attached to do this.
The default TTL is 30 days (2592000 seconds), but this is technically not the same a the P1M date interval. Maybe it's better to create a select list for the expiration values and store the actual date interval format? Doing that now would save us from writing a new update hook later.
I think the list below will add enough options, but leaving this a a custom field providing the expiration in seconds would work for me just as well.
Comment #4
e0ipsoThanks for the patch. I am merging this, but with a default expiration time of 14 days instead. I'm using Google's research on expiration time for this default.
Comment #5
e0ipso