Questions tagged [personal-access-token]

74 questions
2
votes
1 answer

Can't get personal access tokens to work with github for own repo

I've got a private repo I'm trying to push to, I'm on Centos 7. I cannot use SSH. Https says No anonymous write access. Stack overflow says to use personal access tokens. So I follow the directions, enable everysingle option under the token, and…
Krupip
  • 4,404
  • 2
  • 32
  • 54
2
votes
1 answer

Generate github personal access token (PAT) by command line or SDK

I am looking for the command or SDK, such as python, to generate new personal access token (PAT) in Github, but I didn't see any API for…
Bill
  • 2,494
  • 5
  • 26
  • 61
2
votes
2 answers

Install package from github private repo without personal access token

I am trying to install an R package from a GitHub account I currently own and operate. I want to be able to share this R package with other users (i.e. allow them to download) but I want to constrain it to people I approve of. I could do this by…
JFG123
  • 577
  • 5
  • 13
2
votes
1 answer

Terminal is recognizing PAT as a password and not a token

I went through the process of creating a PAT on GitHub. I'm trying to run a gitpushcommand. However, whenever I enter the PAT into the terminal when prompted: Username for 'https://github.com': USERNAME Password for 'https://USERNAME@github.com':…
johnnag94
  • 21
  • 1
1
vote
0 answers

How to use an Embedded Tableau viz container with PAT token generated from Sign in

I am having trouble getting a viz container to utilise a credentials token that I have successfully received as a response from tableau cloud. The viz container I have embedded in my site previously works but after some time it will sign out, so I…
1
vote
1 answer

Getting Error: You need access to git with ssh

I am getting error when I tried ssh for git.com. Error: You need access to git with ssh This was working fine until very recent.
Emma Deo
  • 38
  • 4
1
vote
2 answers

Managing personal and organisation GitHub accounts on the same machine(HTTPS)

So i have a mac given to me by organistaion for company work. My mac os verison is macOS Monterey version 12.6 Now i have one github account setup here for my company (2FA enabled and using HTTPS with Personal access token) git version 2.37.0 (Apple…
nitin
  • 80
  • 4
  • 14
1
vote
0 answers

git hub personal accesstoken working in local is failing in github actions

I am trying to make a GitHub action to run a bash script and create a file in the repo, then push it to a protected branch. i created a personal access token, from an admin account, tested it in my terminal by setting url git remote set-url origin…
cerofrais
  • 1,117
  • 1
  • 12
  • 32
1
vote
1 answer

Unable to pull private docker image from github container registry

I built and pushed a image from the dockerfile using github actions, here is the worflow file name: Create and publish a Docker image on: push: branches: ['temp'] env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} jobs: …
1
vote
2 answers

How to reauthenticate using Github Personal Access Token, PAT has expired?

The PAT that I used for the past month has expired, I am unable to push changes to the repository, how should I go about creating a new token or reauthenticate using my password?
Pawan Nirpal
  • 565
  • 1
  • 12
  • 29
1
vote
0 answers

Authentication error in Heroku pip install my private repo

I'm trying to push my Django app to heroku, and gets Authentication error when installing my private repo from github. I've generated Personal Access Token and added it to my Environment Variables as GITHUB_TOKEN. I've tried many combinations in my…
Dvir Alafi
  • 11
  • 3
1
vote
0 answers

Not able to access images from private repo

I'm trying to use images from private repository, but all my attempts gave me Error 404 as result! After I searched for solution on SO, I found out that you need Personal Access Token to use images from your private repo outside of github. But when…
MegaMix_Craft
  • 2,199
  • 3
  • 10
  • 36
1
vote
3 answers

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead

Even though I create a PET in GitHub, and I set it in Sourcetree, it does get user, or updated. Cloning a repo will result the same issue. Why? Should I remove the cache, or what?
János
  • 32,867
  • 38
  • 193
  • 353
1
vote
1 answer

Moving a file from host with docker-compose volume before Dockerfile is built

I have a few Dockerfiles that are dependant on a "pat" (Personal Access Token) file to be able to access a private nuget feed. I have taken some inspiration from somakdas to get this working. To run my single Dockerfile I first create a "pat" file…
centurion
  • 91
  • 6
1
vote
2 answers

Terraform github_repository 401 in module but works in main scope

I have a github provider declared with a personal access token. Trying to create a repository like the following works: resource "github_repository" "test" { name = "test" visibility = "private" } However, I want to create something reusable.…
JSON Brody
  • 736
  • 1
  • 4
  • 23