aurbano / robinhood-node

:chart_with_upwards_trend: NodeJS client for Robinhood Trading :fire:
https://aurbano.github.io/robinhood-node
MIT License
694 stars 185 forks source link

SMS challenge #129

Open mktexan opened 3 years ago

mktexan commented 3 years ago

An SMS challenge is returned from Robinhood on the first attempt at login with the API.

"statusCode": 400,
   "body": {
      "detail": "Challenge type is invalid",
      "accept_challenge_types": {
         "sms": "SMS"
      }

A function needs to be created able to handle the SMS challenge