-
Posts
2 -
Joined
-
Last visited
Posts posted by goodjonte
-
-
community.respondToConfirmation( req.header('ConfirmationIds'), //array of ids req.header('ConfirmationKeys'), //array of keys maFile.server_time, //unix time SteamTotp.getConfirmationKey(maFile.identity_secret, maFile.server_time, "conf"), true, err => err ? console.log(err) : console.log("Accepted!") );
When running the above code im getting the typical time error "It looks like there is a problem with the time or timezone....."
All my other methods work fine including my getConfirmations() method, where i am using the same time value.
I thought maybe there's something wrong with how im getting the confirmation key? although i got the key the same way for my getConfirmations() method
Am i missing something here?
Time error when using respondToConfirmation method
in node-steamcommunity
Posted
Forgot to respond to this,
Your right its the current time, although i had to use your SteamTOTP time method for it to work, didnt work using built in date object.