Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me with Google Authenticator. Pls #16

Closed
lonya opened this issue Jun 23, 2018 · 2 comments
Closed

Help me with Google Authenticator. Pls #16

lonya opened this issue Jun 23, 2018 · 2 comments
Labels
question Further information is requested

Comments

@lonya
Copy link

lonya commented Jun 23, 2018

how can I make Help me with Google Authenticator automatically generated. For a trade, twofactor_code is needed. I shake my head I can not do I will be happy with any help. sorry for my English 🔢

@Voyager-Two
Copy link
Contributor

Voyager-Two commented Jun 23, 2018

Hello,

Good question, API docs should probably be updated to contain this info.

You can use open-source libraries to generate two-factor codes and send it with your request.
One such library is https://github.com/speakeasyjs/speakeasy

You could also use an open-source SDK to consume the API requests, such as https://github.com/TheTimmaeh/node-expresstrade

These require a 2FA secret, you can get this secret code when you are enabling 2FA on OPSkins.com account page. The API key and two-factor information is transferred automatically to ExpressTrade. So you can use the same API key & 2FA secret for accessing both OPSkins API & ExpressTrade API.

When you see the QR code, you should also see a Manual Code, save this in a safe place and use it as the secret for the libraries mentioned above. It looks something like Z29BPLS4LN1DJ7M5 (delete spaces in-between). Don't forget to finish your 2FA setup on your mobile device to keep your account secure.

image

@lonya
Copy link
Author

lonya commented Jun 23, 2018

Thank's man!!! You saved me. In general, I found a simple library for creating 2-factor-authentication code. All Easy and simple. I love you man. You directed to the right path! If someone comes in handy https://github.com/PHPGangsta/GoogleAuthenticator for PHP

@rannmann rannmann added good first issue question Further information is requested and removed good first issue labels Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants