DEV Community

Cover image for Your organization has enabled or enforced SAML SSO ... you must re-authorize the OAuth Application `GitHub for VS Code`
Dan Benitah
Dan Benitah

Posted on

Your organization has enabled or enforced SAML SSO ... you must re-authorize the OAuth Application `GitHub for VS Code`

I just came across the following while trying to clone a repo:

The "contoso" organization has enabled or enforced SAML SSO. To access this repository, you must re-authorize the OAuth Application GitHub for VS Code

Terminal screenshot of the Error message

I searched how to enable per folder authentication for git.

The easiest solution was to simply run

gh auth login
Enter fullscreen mode Exit fullscreen mode

Terminal screenshot of the login steps

Happy cloning...

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay