Need Username Password to login to git repo of Mendix project

0
I need to revert some changes which is not possible through mendix app hence I need git access to revert it. But I am getting “remote: Invalid username or password.” error while pushing those changes from git bash . I have provided Mendix credentials here also tried with system credentials. please help me find out the git credentials. Mendix version is 9.22.0 and 9.23.0
asked
2 answers
0

Hi Poonam,

 

If you are getting an "Invalid username or password" error while trying to push changes to the Mendix Git repository, it's possible that the credentials you are using are incorrect or have been revoked.

To resolve this issue, you can try the following steps:

  1. Make sure that you are using the correct username and password for your Mendix account. Double-check to ensure that you have entered them correctly and that they are still valid.

  2. Try resetting your Mendix account password to see if that resolves the issue. You can do this by clicking on the "Forgot your password?" link on the Mendix login page and following the prompts to reset your password.

  3. Check your firewall settings to ensure that they are not blocking access to the Mendix Git repository. Make sure that any necessary ports are open and that traffic is allowed to flow to and from the repository.

If this helps you, please upvote and mark as answered!

answered
0

Mendix Studio Pro can automatically access your repository using your Mendix account, but Git Bash is a third-party tool and won’t recognize your Mendix credentials. To fix this, you need to use basic authentication with Git Bash: for example, you could use the following but there are more options:

git config --global credential.helper wincred

 

Configure as following:

  1. Username: Your Mendix account email address.
  2. Password: A Personal Access Token (PAT), which you can generate in Developer Settings within your User Settings
  3. Make sure to select the scopes to actually be allowed access to the repos:
    1. mx:modelrepository:write
    2. mx:modelrepository:repo:read
    3. mx:modelrepository:repo:write

That’s all there is to it! Once you set up Git Bash with these credentials, you’ll be able to interact with your Mendix repository without any issues.

answered