Author Topic: Github two factor authentication  (Read 725 times)

thope@ozemail.com.au

  • Newbie
  • *
  • Posts: 3
Github two factor authentication
« on: April 02, 2021, 01:08:32 AM »
I understand that Github is moving to a two token factor authentication model. What does that mean for the existing Collaboration plugin?   

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1639
  • Code Punk
    • Archi
Re: Github two factor authentication
« Reply #1 on: April 02, 2021, 10:25:16 AM »
I believe 2FA is for accessing the website and user account details. [1]

My understanding is that for using the API as a client, only user name and Personal Access Token is required. [2]

[1] https://docs.github.com/en/github/authenticating-to-github/accessing-github-using-two-factor-authentication
[2] https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
« Last Edit: April 02, 2021, 10:52:27 AM by Phil Beauvoir »
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

tsanov

  • Newbie
  • *
  • Posts: 4
Re: Github two factor authentication
« Reply #2 on: April 03, 2021, 18:47:58 PM »
Phil Beauvoir is absolutely right - I am using coArchi with 2FA enabled and the only difference is that I punch in an access token instead of the account password.

Thomas Rischbeck (ITMC.ch)

  • Member
  • **
  • Posts: 19
  • working on STAR: strategy - architecture
    • ITMC
Re: Github two factor authentication
« Reply #3 on: April 05, 2021, 23:29:08 PM »
I can confirm that this works the same way with MS Azure DevOps Git - which we use with MFA.
ITMC AG • Bahnhofstrasse 10 • CH-8001 Zürich
Dr. Thomas Rischbeck
PhD in Computer Science
Managing Partner   
rischbeck@itmc.ch
www.itmc.ch

ArveSoreide

  • Newbie
  • *
  • Posts: 2
Re: Github two factor authentication
« Reply #4 on: July 02, 2021, 09:56:58 AM »
Phil Beauvoir is absolutely right - I am using coArchi with 2FA enabled and the only difference is that I punch in an access token instead of the account password.

Hi

I've tried replicating what you are doing - creating a personal access token in GitHub and pasting it into the "Identity password" field. But I still get "not authorized".

It is probably something very basic I have misunderstood, but I'm in need of help here.

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1639
  • Code Punk
    • Archi
Re: Github two factor authentication
« Reply #5 on: July 02, 2021, 10:00:03 AM »
That field in preferences is for accessing the SSH file.

If you are using HTTPS, the PAT is used in the repository's password field when connecting. This can be set in the Properties tab when the repository is selected.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

ArveSoreide

  • Newbie
  • *
  • Posts: 2
Re: Github two factor authentication
« Reply #6 on: July 02, 2021, 10:19:58 AM »
Thank you so much - it did in fact work!