On Thu, May 07, 2026 at 04:46:58PM +0700, Arnaud Rebillout wrote:
> Source: debci
> Version: 4.0.1
> Severity: normal
> User: [email protected]
> Usertags: origin-kali
> 
> Hello,
> 
> at Kali Linux we run debci, our instance is available at:
> https://autopkgtest.kali.org/
> 
> I wanted to ask how to handle latest changes, which made authentication
> mandatory. Questions:
> 
> * Is it possible to disable authentication altogether?

You would need to modify lib/debci/frontend.rb, in the `before "/*"`
block. I'll take patches to make it conditional on a configuration
variable.

> * Can I create accounts manually (eg. for Kali team members)?

I have never implemented a login form, only salsa logins.

> I tried clicking on Login, and then Login with Debian Salsa, but that
> failed with:
> 
> Internal Server Error
> 
> and a refresh of the page gave me:
> 
> Authentication Failed
> Reason:
> csrf_detected
> 
> If that could work, I'd be happy as well.

For salsa logins to work you need to register an application in salsa
(can be under a group or under your user), then set the client id and
secret as debci_salsa_client_id and debci_salsa_client_secret,
respectively, in /etc/debci/conf.d/salsa.conf (the file can be named
anything, really, as long as it end in .conf).

Attachment: signature.asc
Description: PGP signature

Reply via email to