Discussions

Ask a Question
Back to All

What is the time unit of 'expires_in' of oAuth tokens?

Hi guys,

I was wondering what the time unit of the expiry time of refresh tokens is. E.g. I get this response when I'm refreshing an access token:

{
"access_token": my_token,
"token_type": "Bearer",
"expires_in": 3024000,
"refresh_token": my_ref_token
}

Neither seconds nor milliseconds appears to make sense. I'd be glad if someone points out what I'm missing! Thanks in advance :-)