mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
Merge pull request #2099 from birarda/authentication
fix oauth early token expiry
This commit is contained in:
commit
6c27b99aba
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ OAuthAccessToken::OAuthAccessToken() :
|
|||
OAuthAccessToken::OAuthAccessToken(const QJsonObject& jsonObject) :
|
||||
token(jsonObject["access_token"].toString()),
|
||||
refreshToken(jsonObject["refresh_token"].toString()),
|
||||
expiryTimestamp(QDateTime::currentMSecsSinceEpoch() + jsonObject["expires_in"].toDouble()),
|
||||
expiryTimestamp(QDateTime::currentMSecsSinceEpoch() + (jsonObject["expires_in"].toDouble() * 1000)),
|
||||
tokenType(jsonObject["token_type"].toString())
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue