- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'm on SAS EG 8.3 (.0.103) and trying to set up the git integration using a github.com repository on my own windows 10 machine as an end-user of SAS EG.
It seems that this version of EG doesn't support github 2FA? Trying to close a repo with 2FA throws a
Cannot clone repository
Invalid user name or password. Please update your git profile with valid credentials.
And it works if you turn off 2FA on your github repo user.
Also, this version of EG still doesn't support SSH keys (for easy limit of access to specific repos and avoiding passwords)?
Do I need to use a dedicated github user without 2FA, to get be able to interact with the remote repo using git in EG 8.3, or is there another way to set this up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The solution here is to use a personal access token (PAT), which you define in GitHub. You can even assign a scope to it to limit the permissions. The PAT acts just like a password -- but it can be easily revoked when needed without changing a password. Here are a couple of slides from my SAS-Git webinar:
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Further to what @ChrisHemedinger I would recommend reading the following papers
https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3057-2019.pdf
https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3057-2019.pdf