goodjonte Posted April 1 Report Share Posted April 1 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? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 1 Report Share Posted April 1 You need to use the current time, not the time from when you first added the authenticator. Quote Link to comment Share on other sites More sharing options...
goodjonte Posted May 13 Author Report Share Posted May 13 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.