Closed ngmy closed 1 year ago
Yes, the user:email
permission is required since #20. It seems this was not properly documented.
@Gyvastis would you please create a PR that updates the README to describe the necessary permissions required?
Fixed by #23.
I upgraded
league/oauth2-github
from 3.0 to 3.1 and now I get "Resource not accessible by integration" error occurs withgetResourceOwner
method (This may be unrelated, but I upgraded from PHP 7.4 to 8.1 at the same time).Below is part of the code for my slim application login (It's a GitHub App).
Below are the details of the error.
I explicitly granted
user:email
as read-only in the Github App permissions and the error no longer occurs. Is it now mandatory to specify this since 3.1?