0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
Kevin Ansfield 06151ef5ac 🐛 send correct token expiration time (#7547)
no issue

When using Ghost OAuth, exchanging the authorization code for an access token was returning a token along with an `expires_in` property containing a JavaScript date representation rather than the number of seconds the token is valid for. This was resulting in the client expecting it's access token to be valid until the year 48796(!) and so never attempting to refresh it's access_token.

- return token expiration time of 3600 seconds / 1hr
2016-10-12 10:19:33 +02:00
..
client@e4d05b7f18 Updated Ghost-Admin to 1.0.0-alpha.4 2016-10-10 17:08:54 +01:00
server 🐛 send correct token expiration time (#7547) 2016-10-12 10:19:33 +02:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test 🐛 logging: error output format (#7546) 2016-10-11 19:03:14 +01:00
index.js