Vurv78 / gmod-upload

Action to upload a Garry's Mod addon to the steam workshop
6 stars 5 forks source link

2FA Support #2

Open Vurv78 opened 1 year ago

Vurv78 commented 1 year ago

Pretty sure it's literally just an extra parameter to give to steamcmd. Shouldn't be hard..

I'm just not gonna do it til someone needs it

Vurv78 commented 1 year ago

Not hard, but you need to generate a totp code. Someone made an implementation in rust: https://github.com/Weilbyte/simple-steam-totp/blob/main/src/lib.rs

Probably better to rely on this: https://github.com/DoctorMcKay/node-steam-totp/blob/master/index.js