Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORTANT] Handle OAuth App access restrictions #193

Open
leo opened this issue Nov 2, 2022 · 0 comments
Open

[IMPORTANT] Handle OAuth App access restrictions #193

leo opened this issue Nov 2, 2022 · 0 comments

Comments

@leo
Copy link
Contributor

leo commented Nov 2, 2022

release currently doesn't work when freshly set up, because GitHub added OAuth access restrictions.

If you install release fresh and try to use it with a GitHub organization, for example, it will render this error:

♥ directory (main) release -P
Error! Could not determine GitHub repository.

When logging the internal error that's causing this, it shows additional details:

Although you appear to have the correct authorization credentials, the `something` organization
has enabled OAuth App access restrictions, meaning that data access to third-parties is limited.
For more information on these restrictions, including how to enable this app,
visit https://docs.github.com/articles/restricting-access-to-your-organization-s-data/

That means, in order for release to work in the first place, it now has to support this scenario. Either by changing the way it authenticates, or by at the very least (as an immediate solution, before the real one gets implemented) rendering a special error in that case and linking to this documentation page that GitHub provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant