The Welkin Suite Forum

Adding new project is failing credentials



Adding new project is failing credentials

  • Please log in to reply

#1
windows version welkinsuite

marco.pietersen

    Posted 29 Jun 2018 and edited 05 Jul 2018

    Hello, 

    I've been fighting TWS when adding new projects to a solution. 

    Steps to reproduce: 

    • Add new project to existing solution (I right-click the solution and Add Project)
    • The sandbox in question is a newly refreshed sandbox
    • When entering the sandbox credentials TWS reports they are incorrect, but the salesforce login history says: 'Failed: Computer activation required'
    • When retrying after a password or token reset, no new Login attempts appear. Only after I restart TWS and try to add the project again I see login attempts again. 

    Workaround:

    Login with this user on the required sandbox via the test.salesforce.com login page and verify your computer. 

    Then restart TWS and add project to the solution.


    What's wrong? 
    I think there are 2 issue's

    1. The 2-step authentication doesn't show in the TWS interface. (perhaps you should start using oauth?)
    2. The failed login is cached somehow and no consecutive login calls are being made to the API (at least not when adding a project, perhaps it's always the case?)

    Marco




    3 replies to this topic

    #2

    kate.dulko

      Posted 04 Jul 2018

      Hi Marco,


      Thank you for contacting us on this.


      Since your organization has a 2-step authentication, you can use the OAuth as for a creation of a project as well for adding a project to your existing solution. Exactly this type of authentication was implemented to handle 2-factor login to an org (besides other OAuth benefits :) ).

      Also, there is no data about failed attempts to log in from the IDE to an org in the described case due to the 2-step authentication. We will investigate this more detailed.


      Please let me know if using OAuth is what you are looking for to solve the issue when adding a new project to your existing solution.


      Thank you,

      Kate


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      marco.pietersen

        Posted 05 Jul 2018

        I see; 

        So it doesn't work properly because we have a 2-step authentication. 

        I haven't tried the Oauth tickbox, I'll do that. I hope I don't have to enter credentials every time I deploy then...


        It might be a nice adition if you put a hover over help thing explaining that the token login doesn't show the 2nd step in the 2-step authentication. 

        But thanks for resolving this. 






        #4

        kate.dulko

          Posted 05 Jul 2018

          Hi Marco,


          Thank you for your response and for your suggestion to add the hover - we like this idea and this would be useful for sure!


          As for using the OAuth type of authentication, you shouldn't log in every time to deploy - there is a session time that you can set up on your organization, and the IDE would require to re-login when a session between TWS and your org would be expired. In this cases, you would get a notification in the IDE with an option to re-authorize.

          Also, you can find additional details about OAth here.


          Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            





          Boost Your Productivity. Get Started Today

          Try Free Trial