Skip to main content
Participating Frequently
April 23, 2021
Question

Reconfig an existing site to use Git token rather than password?

  • April 23, 2021
  • 1 reply
  • 2723 views

Hi - Like many who use GitHub I got the email that password access will soon be deprecated and we need to switch to token authentication. Fine, so I went into GitHub and created my token.

But how can I make this change to my site in Dreamweaver? When I go into Manage Sites and select the site, the whole Git section is grayed out, with no apparent way to update my authentication.

    This topic has been closed for replies.

    1 reply

    Nayan_Kankariya
    Community Manager
    Community Manager
    April 25, 2021

    Hi @briandunning ,

     

    Thanks for writing to us. Please see if you can update the Git remote authentication by invoking Git panel from Window menu. Within Git panel, please click on "Create Remote" button and set the authentication details.

     

     

    Please let us know if the above resolves the issue else we will further investigate the same.

     

    Have a pleasant day!

     

    Regards,

    Nayan

    Dreamweaver Team

    Participating Frequently
    April 29, 2021

    Oh, OK. Thanks. The reason that button doesn't appear for me is that I already have at least one remote created, so mine looks different:

     

    When I click "origin" and select "Manage Remotes" I get the window you were trying to guide me to. However it only offers username/password authentication, and the original point of this question is that those are now deprecated on GitHub and we need need to use token based authentication from now one. So how do I set that up?

    Known Participant
    May 4, 2021

    Hi @briandunning,

     

    Thanks for reverting on this. Please see if following below steps helps in successfully connecting to the GitHub.

     

    Steps:

    1. Login to your GitHub account in browser
    2. Click on your account icon in the upper-right corner GitHub page.
    3. Go to Settings and click on Developer Settings.
    4. Click on Personal Access Tokens and click on Generate New Token.
    5. For Token description, enter anything and for Scopes, you can use the default options.
    6. Make sure Repo and its sub-options are checked.
    7. Click Generate Token to invalidate any previous tokens you have generated and create a new token. Copy and paste the new token into the private document. This token can never be seen in GitHub again, so save it somewhere safe.
    8. Copy this token in Password textbox in Dreamweaver along-with other details and see if the connection to GitHub is successful.

     

    Please confirm if the above resolves the issue else we will further investigate the same.

     

    Have a pleasant day!

     

    Regards,

    Nayan

    Dreamweaver Team


    Thank you for your contribution, Nayan.   How does this address the fact that from August 13 (I think that's the date - I'm not at my office right now to check),  GitHub will no longer accept a password as part of the authentication to the account?        If that's not worked around somehow,  or Dreamweaver changed to use a github-issued token instead,  then GitHub integration will stop working.     

     

    I rely on that integration for my business with more than 40 web sites and a dozen or so SSIS projects in GitHub.

     

    Cheers,

    Mike Kear

    Windsor, NSW, Australia 

    CEO,   AFP Webworks

    Coldfusion conssultant and developer since 1996.