git push on github does not work

Confluence User - 07 Jul, 2023

I am working with version 8 community version on docker. I have several topics.


  1. it seems, /home/tomcat does not exist in the docker image - so jgit cannot create configuration files ( i fixed this by adding the directory with correct permissions in the container)
  2. Push to remote github directory does not work:
    1. log says: 

      org.eclipse.jgit.api.errors.TransportException: https://github.com/Mbaza-Product/workflow.mbaza-mvp.git: not authorized

    2. pull from the same works: 

      INFO  07 Jul 2023 08:25:27 org.joget.apps.app.service.AppDevUtil - Pull from Git remote repo: https://github.com/Mbaza-Product/workflow.mbaza-mvp.git

    3. Github does not use 2 factor authentication
    4. i can push to the same repo with user:password via vscode
git

3


10 Jul, 2023
confluenceUser
confluenceUser

Hi, are you using GitHub personal tokens? According to https://github.com/orgs/community/discussions/22446 you are not allowed to use passwords for authentication.

13 Jul, 2023
confluenceUser
confluenceUser

I would love to - but joget does not allow to enter a token - i can only add user/password.


13 Jul, 2023
confluenceUser
1
confluenceUser

ok, solved - you have to use the


user: <github_user>

password: <personal_access_token>


Then it works.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print