When you are trying to view a GitHub pull request in Codelantis, you may encounter the following error:
Error: Although you appear to have the correct authorization credentials,
the `<YOUR_ORGANIZATION>` organization has enabled OAuth App access
restrictions, meaning that data access to third-parties is limited. (...)
If this happens, your GitHub organization needs to allow Codelantis as an OAuth application. This is needed so that you can post pull requests comments in your own name from Codelantis.
The required steps are mentioned in GitHub's documentation:
Settings
> Applications
(direct link)On the organization's settings page, your request can then be granted via Settings
> OAuth app policy
.
After the approval, you will be able to review pull requests in Codelantis.