goodjonte Posted April 1, 2023 Report Posted April 1, 2023 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
Dr. McKay Posted April 1, 2023 Report Posted April 1, 2023 You need to use the current time, not the time from when you first added the authenticator. Quote
goodjonte Posted May 13, 2023 Author Report Posted May 13, 2023 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
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.