Hi,Auth tokens were introduced in Gerrit-3.13 which is a nice feature for interactive users.What is the solution for service users?How will bots authenticate to the system?So far I used the serviceuser plugin.Hopefully, this will be supported, as bot users are not part of the interactive authentication scheme,I just upgraded and found serviceuser plugin is failing and is not listed in the plugin management.Without this plugin installed bots succeed authentication which is nice as it gives me some grace time.I succeeded in building the serviceuser master with gerrit master.Too many issues building the serviceusers with gerrit stable-3.12.Cherry-pick into gerrit stable-3.13 of 527882: Allow to add additional receivers to auth token expiry notifications[1] makes it build.I applied the following simple patch, hopefully it is ok until I understand what is happening.
Hello,I am trying to figure out how people are using service users in Gerrit-3.13... Users for bots, CI and other tools.So far I used the service user plugin, as this plugin is broken and I could not find anyone complaining, I am very curious if there is a method I've missed.
The strangest thing is that I have not gotten any response, maybe I am the only one that is using service users?
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/cae9f388-9293-421b-8919-f534537a10d0n%40googlegroups.com.
Hi all,I don’t see a lot of traction on this plugin: what is the use case that you cannot achieve with Gerrit functionality?
Hi,sorry for the late response.The serviceuser plugin fully supports auth tokens. I just noticed that the corresponding REST API endpoint is not documented and will fix that ASAP. We are using the plugin with auth tokens in production for quite a while now without issues.
On Monday, 23 February 2026 at 10:08:13 UTC+1 thomas....@gmail.com wrote:Hi,sorry for the late response.The serviceuser plugin fully supports auth tokens. I just noticed that the corresponding REST API endpoint is not documented and will fix that ASAP. We are using the plugin with auth tokens in production for quite a while now without issues.We are running on master branch though. I will downport all changes regarding the auth tokens to 3.13.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/d1e73d6c-e300-4a29-b755-ecbb1c2f3264n%40googlegroups.com.
On Monday, 23 February 2026 at 10:08:13 UTC+1 thomas....@gmail.com wrote:Hi,sorry for the late response.The serviceuser plugin fully supports auth tokens. I just noticed that the corresponding REST API endpoint is not documented and will fix that ASAP. We are using the plugin with auth tokens in production for quite a while now without issues.We are running on master branch though. I will downport all changes regarding the auth tokens to 3.13.I cherry-picked [1] to stable-3.13 here https://gerrit-review.googlesource.com/c/gerrit/+/555021
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3S93UrKJwSj8fTTKSsaNsDLnm%3DysAD%3DFTmLkVW-%2BCr1xA%40mail.gmail.com.
On 23 Feb 2026, at 09:08, thomas....@gmail.com <thomas....@gmail.com> wrote:Hi,sorry for the late response.The serviceuser plugin fully supports auth tokens. I just noticed that the corresponding REST API endpoint is not documented and will fix that ASAP. We are using the plugin with auth tokens in production for quite a while now without issues.On Monday, 23 February 2026 at 09:40:55 UTC+1 Luca Milanesio wrote:Hi all,I don’t see a lot of traction on this plugin: what is the use case that you cannot achieve with Gerrit functionality?It provides a self service for users to create technical users, including a UI.
This is useful, if the used IDP (e.g. the OAuth provider) does not support that
and if the more powerful CreateAccount capability should not be opened to a larger user base.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/d719b426-3807-4662-acc7-dc85ff67a9ccn%40googlegroups.com.
On 23 Feb 2026, at 09:08, thomas....@gmail.com <thomas....@gmail.com> wrote:Hi,sorry for the late response.The serviceuser plugin fully supports auth tokens. I just noticed that the corresponding REST API endpoint is not documented and will fix that ASAP. We are using the plugin with auth tokens in production for quite a while now without issues.On Monday, 23 February 2026 at 09:40:55 UTC+1 Luca Milanesio wrote:Hi all,I don’t see a lot of traction on this plugin: what is the use case that you cannot achieve with Gerrit functionality?It provides a self service for users to create technical users, including a UI.Gerrit allows to create service users without the need of this plugin.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/C8B39263-BB99-49FC-B8A6-BBA2BE83EC68%40gmail.com.