two factor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rickoneeleven
    Junior Member
    • Feb 2014
    • 15

    #1

    two factor

    It's about time I enabled two factor on my account but I'm worried about how it will affect my little script that does bits and pieces for me.

    I've searched the forum, but the word "two" was removed for being too short, which meant I never found any posts referring to "two factor".

    I've done a google search and not found much and also searched the reference guide. I know when I enable it I'll be given back up codes etc. that can be appended to the password, but I assume these can only be used once, where as my script logs in daily.

    I'm not asking you to do the work for me, but a sample script or any link that has examples, or documentation would be very helpful.

    Thanks
    R
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    I've no idea what two factor is. Are you referring to the two-step authentication?

    Comment

    • rickoneeleven
      Junior Member
      • Feb 2014
      • 15

      #3
      Originally posted by jabe View Post
      I've no idea what two factor is. Are you referring to the two-step authentication?
      Sorry, yes I am. Two step authentication to protect my account.

      Thanks
      R

      Comment

      • Mr Magoo
        Junior Member
        • Jan 2011
        • 86

        #4
        If you are using the API to login to Betfair, then the two factor auth won't affect your script at all.

        Logging in to this forum is more painful though. As Betfair haven't updated the authentication on the developer site, you need to type in your password and then add on the six digit auth code to the end of it.

        Comment

        • rickoneeleven
          Junior Member
          • Feb 2014
          • 15

          #5
          Originally posted by Mr Magoo View Post
          If you are using the API to login to Betfair, then the two factor auth won't affect your script at all.

          Logging in to this forum is more painful though. As Betfair haven't updated the authentication on the developer site, you need to type in your password and then add on the six digit auth code to the end of it.
          I use the API-NG yes.

          Brilliant thanks. I'll enable it and just double check my script works and look forward to logging back into the forum.

          Thanks
          R

          Comment

          • rickoneeleven
            Junior Member
            • Feb 2014
            • 15

            #6
            I turned on two factor and expired my session key, when it went to regen it failed. So I don't think you can just turn on two factor and the script will continue to work.

            Turned two factor off and it started working fine again.

            Any other ideas?

            Thanks
            R

            Comment

            • Mr Magoo
              Junior Member
              • Jan 2011
              • 86

              #7
              That's odd. I can't see changes in my own code for 2FA. For me, it just worked. Maybe I'm overlooking something...

              To track your problem down further, could you post a message here with the full JSON of the requests & responses that your program is seeing?

              Comment

              • rickoneeleven
                Junior Member
                • Feb 2014
                • 15

                #8
                I've spoken to support and I'm not using the Non-Interactive login (with cert) hence my issue.

                http://docs.developer.betfair.com/do...28bot%29+login

                I just wanted to post the solution for people to reference in the future.

                You need to have your login setup correctly using a cert if you don't want the 2 step authentication to break when you enable it on your betfair account.

                Thanks also Mr Magoo for your help.

                Cheers
                R

                Comment

                Working...
                X