nextcloud/integration_gitlab

OAuth tokens without expiration to be removed

Closed this issue · 7 comments

OAuth tokens without expiration are being removed with GitLab 15.0: https://docs.gitlab.com/ee/update/deprecations#oauth-tokens-without-expiration

Of course, if I try setting up the GitLab integration with an expiring token, it only works for two hours. I'm not sure how this integration should be modified to continue operating...

Thanks a lot for mentioning this change in GitLab.

Token refresh is now implemented and available in v1.0.4-1-nightly. Could you give it a try?
It would be nice to also check the app is still working fine with personal tokens.

@eneiluj Thanks for the update -- I tried installing it but now there is no GitLab integration section in "connected accounts". Is there a different place I should be configuring it now?

How did you install the nightly?
The settings location didn't change 😁.

Downloaded the tarball from GitHub, expanded it into custom_apps, set permissions, ran occ app:update...

P.S. I am still running Nextcloud 22.2.8, if that makes a difference.

I just tried with the same archive on a NC 22 instance and...it works 😁. Check if there is any error in the browser console logs and NC server logs.

I'm seeing a 302 redirect from /custom_apps/integration_gitlab/js/integration_gitlab-adminSettings.js to /apps/dashboard/ -- that seems wrong. Edit: It was a permissions error.

It appears v1.0.4-1-nightly fixes this issue -- I can now get notifications from GitLab 15.0.1 through this integration.