GitHub desktop not logging out of old account - github-desktop

Hi everyone I am getting a real weird error. A while back I started a Github account from an old email and wasn't active with and forgot about. Lately, I have opened a new github account with a different email that has all my current projects.
I had github desktop installed (older version) but like my old account I never really used. So I reopened it to access my new account but it is still connect to my old account. I logged out from the options and signed in via my new account through the web but the actual repositories and folders it is show are still from my old account. I have tried updating, resinstalling and installing github desktop and signing out and signing back in various times and it is still connecting to my old account.
I am thinking there is still come connection with my Github desktop and my old account and need to somehow break the connection via the terminal but not aware of any command to do this.
If I am unable to break this connecting to my old account it seems to me like a major security issue with GitHut desktop. Hopefully thats not the case.
Does anyone have anyways of solving this issue or is this something that I should report to Github?

This also happens when trying to log out from Git Bash, you have to go to "Control Panel" > "User Accounts" > "Credential Manager" > "Windows Credentials" and look for the application. Then, remove the credentials of Github. Hope this is usefull.

Related

Nuget prompting credentials

I am using Visual Studio 2019. While building a solution its asking for credentials and build is getting failed. api.nuget.org asking username and password.
Note: I am using public default nuget package
ZScalar is installed in my system. This was blocking the nuget uri. Hence, the nuget was prompting for credentials. If i use proxy, it didn't prompt for credentials.
From the official thread of Visual Studio's developer community, you should consider signing out from all accounts (located on the top-right corner of Visual Studio). This should solve your issue.
After clicking on your profile, go to Account settings... and you'll be prompted this:
Simply remove all the accounts & enjoy!
Note that this problem has a good chance to be related wtih NuGet packages installation permission.
The answer here, for me, was the blocking of downloadable executable files by group policy.
.nupkg was classified as executable or just not whitelisted - so a group policy (company enforced internet setting) is what was causing the 403 error (on the command line) and this password prompt to nuget.api.org
The password prompt doesn't really make any sense, in my context, but I suppose if I was a network admin and I entered my network password, it might have worked.

Can't access AppStore connect

Whenever I try to login to my AppStore connect console, I'm getting redirected to this page(https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/gettingstarted). This looks like to be older iTunes connect page which is no longer operational. I'm not able to access my AppStore connect console at all and have been facing this issue from past 5 to 6 days. Have also tried accessing it from other browsers and in incognito, nothing seems to work. Any idea what would be the reason? Anyone else facing this issue?
I contacted the Apple Support for this issue, but they couldn't figure out the issue right away and asked for some time to investigate the issue.
Meanwhile I could get credentials of our accounts team-agent and on logging in with his credentials we saw that in the Users and Roles section all the users were removed except the team-agent, even the admins(which was my role). And this was the reason why I couldn't access the App Store Console. The team agent user also confirmed that he has not deleted any of the users.
So, post realising what was the issue, we just added all the team members again in Users and Roles section, post that it's working fine. We also informed the apple support regarding what had happened, but they were not able to figure out why the issue occurred and told us to inform them if it ever reproduces again in future.
Hope this helps! :]

TFS connection using Azure Active Directory account

So for years I've been logging into my PC using a basic Windows Live account and then using RUNAS.exe to use my AD account when launching Visual Studio and SSMS and everything worked ok. I decided to move to an AD login on my laptop so that I don't need to do the RUNAS.exe for anything I want to use my AD credentials.
Got my user setup fine, and SSMS works without a hitch. The problem is TFS and the Security Device Credential PIN. My org has it set that I have to set a Windows Hello PIN when setting up. If I login to my laptop using that option, I basically can't connect to TFS. If I use my password, I have better luck.
If I use Edge to browse to my TFS server, I'm prompted for a login and by default it asks for my Security Device Credential (PIN). It accepts it, but Edge cannot connect to the site. If I launch and using 'Other Options' and retype my account and password, it works no problem.
This is crazy. Any ideas why this would be this way? I've looked and cannot find any answers on this.
I appreciate any help!

Sign In Sorry, but we’re having trouble signing you in. We received a bad request

I am using azure AD authentication to authenticate a user in my MVC
application.And I published my application on azure and it is
working fine.
But, when I run my application locally then it Microsoft's login
page comes up and when I enter credentials and click on SignIn
button then it is giving "Sorry, but we’re having trouble signing
you in.We received a bad request."
But the same application is on azure and if I access it from there then it allow me to login.
To create this apllication I follwed link to add azure AD authentication
If you notice the error message, it clearly indicates that you have not configured https://localhost:44320 as one of the reply addresses.
Please go back to application configuration screen in your Azure AD and add https://localhost:44320 as additional reply address. That should take care of this problem.
Add the below to your Web.config. It must be the same port which you have added at the time of Application registration.
<add key="RedirectUri" value="https://localhost:44320/" />
I hit this, it has cost me a lot of time.
I would check firstly that you have the ability in Azure to access third party applications.
In Azure > Users & Groups > User Settings:
You see the first item (Users can allow apps to access their data) - without this checked I believe it wont work.
As you are running your application locally it is not published to Azure, this means that although it may be within the realms of your organisations network, Azure still views it as a third party application.
Be wary setting this to 'Yes'. I understand that there are ways to then create applications that allow you to behave as an Azure super user....
In case anyone else comes across this, here is what happened to me. I had been switching back and forth between environments within Visual Studio (Project >> Properties >> Debug >> Environment Variables). Well, the last time I switched it, I wrote "Develop" instead of "Development" to switch back. This caused .NET Core to grab the wrong appsettings which connected to the wrong AD which did not have my localhost setup on it. It took me an hour to catch what I had done wrong.
This may not be exactly what has happened to you, but do check to make sure you are picking up the Azure AD settings you are expecting if they are in your appsettings. It could be a good point to start at.

How to manage login for Team Foundation Server, if we dont want to provide password of server to clients?

I would try my best to explain.
I have configured team foundation server on my server machine, and on client i can check in my projects on server and on other clients i can get final version. It is working correctly.
Now i have two questions.
1- From client pc, when i connect to team foundation, it asks for username and password, and on team foundation server the password configured there is the same password of server windows admin credentials. I try to create any other user on it but i think so i must have to create a server admin account for this. But i dont wana give my server credentials to clients. It seems to me quite dangerous. See the image.
2- If i do some changes and i do check in, it works good. And changes are loaded there. On other client, if i do check out, it did not get the latest different changes, it does nothing. But when i do get latest version then it works fine but bring all latest changes and merge. Why check out does not get only "different" statement changes among them?
I am newbie TFS, so kindly forgive me if i am asking something fool.
I have found the way to resolve this.
Just create a new account on your active directory.
And use it for login. Provide that account here
Now i can provide this username and password which i created as a user account on active directory.

Resources