vilnius / tvarkau-vilniu-ms

Tvarkau Vilnių backend
MIT License
9 stars 2 forks source link

Upgrade doorkeeper to 5.0.0 version and return long lasting tokens #92

Closed laurynas closed 6 years ago

laurynas commented 6 years ago

@mjurkus

client_credentials grant type does not support refresh tokens. Fortunately, 2 days ago doorkeeper 5.0.0 was released. It allows using custom expiration time by grant type.

Setting 1 year expiration date for client credentials grant, 1 hour - for other grant types.