-
Notifications
You must be signed in to change notification settings - Fork 8
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
Avatars of private projects fail to load with OAuth #8
Comments
Signed-off-by: Julien Veyssier <[email protected]>
Thanks for the feedback! Yeah well the avatar URL can't be accessed even providing authentication header. You can checkout the So, until we find a way to access avatars of private projects, avatars are not requested if visibility is "private". So at least the error will not pop anymore. |
The API documentation does not mention a way to get avatars for private repos (or I didn't find it). |
Thank you, you're right. This seems to be a regression by Gitlab itself as you should be able to pass the private token by adding it in the URL. The corresponding issue is here: https://gitlab.com/gitlab-org/gitlab/-/issues/25498 |
Thanks for linking the corresponding issue! I subscribed to it 😄. So in case they fix it, the fix is sleeping in the |
Currently, when using the integration over OAuth with the scopes api, read_user, read_api and read_repository, the project avatars still fail to load with a
401 Unauthorized
response by the Gitlab instance.Version: Nextcloud 20.0.0
PHP: 7.4
Error log:
The text was updated successfully, but these errors were encountered: