Last week I added an App key (read only) to my account for a backup tool. Now I'm not able to push changes to origin anymore, using hhtps with credentials.
After revoking the app key, I got write access back.
So my question, will an app key replace my "normal" membership of the team? I'm in the admistrator group.
Or how can I create an app key for a automated tool with read access only? And keeping my read/write access.
Best Regards
Hi,
yes you are right its called app passwords.
I used the git bash under windows to push my commits to origin. Here is the output:
Pushing master
Remote: Your credentials lack one or more required privilege scopes.
Error encountered while pushing to the remote repository: Git failed with a fatal error.
unable to access 'https://....git/': The requested URL returned error: 403
Pulling and cloning worls like a charm. After revoking the app password I tried to push again and here git was asking for my credentials and it was working again.
I can think of two potential causes of this:
I'm guessing only based on that you mentioned that git asked for your credentials after your revoked the app password – how did you let it use the app password initially?
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This morning I did some testing.
Thx for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries, happy to help.
I'm glad that you identified the root cause.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @BertWe,
Will an app key replace my "normal" membership of the team?
Did you mean app passwords? If so, then no, app passwords never replace or shadow your regular credentials.
Now I'm not able to push changes to origin anymore, using https with credentials.
What operations did you actually run and what errors did you get back?
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.