Trac / gerrit - Login with Haiku SSO

Hi,
I was trying to login to Haiku trac with Haiku SSO, but i seems there is a misalignment between my gerrit username (jackburton79) and Trac Username (jackburton)
I would like to change the gerrit username to match the Trac one (jackburton).
Trac says to contact administrators to align the usernames. How do I do that ?
Thanks!

@kallisti5 will take care of the changes,see the announcement here:

1 Like

Thanks! Sorry, I missed that announcement, I had only seen the one about Depot

Now I don’t know which thread to use… :slight_smile:
@kallisti5 feel free to merge threads or keep this one for requests.

While my SSO login works in Trac and Gerrit, my Trac username is “humdingerb” while at Gerrit it’s “humdinger”. If possible, I’d like it to be just “humdinger” everywhere. Thank you!

@humdinger I just figured out a way to edit usernames in SSO. You have been renamed, however please check with all the various services to ensure your account linkage is correct.

~There may be wide-reaching ramifications however.~ There are wide-reaching ramifications :laughing: I’ve manually updated Trac and Gerrit (your display name was humdinger, your username internal in gerrit was humdingerb) to fix the breakages this change created. It still may be broken though.

tldr; For everyone else… we can’t rename your user in sso. Y’all stop being extra. :rofl: Changing the SSO login is like a legal name change… it’s a lot of work and makes a bunch of random 3rd party systems confused.

1 Like

I went ahead and renamed you as well to jackburton because of your ticket / comment counts in trac. Let me know if it works in Trac and Gerrit

Trac works.
Gerrit says “forbidden”

Try again on gerrit.

Thanks! Works now!

The email address ‘gowtham398gs@gmail.com’ supplied by your OpenID Connect provider is already bound to the existing Trac account(s) ‘spidy05’, which do not match the username ‘spidy-00-5’. Please contact an administrator to help you align your accounts.

i am getting the same (SSO ) issue while trying to login to trac , can please some one help me fix this issue

should be fixed now. Your SSO username has been adjusted.

1 Like

i am not able to sign in to gerrit ,i am getting message forbidden error what is the reason for that

@kallisti5 My trac username is abdullah and SSO username is abdullahzulfiqar2005, both having same email. Could you align my trac account with sso identityl?

@kallisti5, I’m getting missmatched username (“oscarl” vs “bipolar”) for the same email address when trying to log in into Trac.

If we cannot have properly case-sensitive usernames[*] (I would have preferred “OscarL” or BiPolar), please go ahead and set both to “bipolar” (“oscar” would also be acceptable, I just do not like the lower case “L” at the end :-D). Thanks in advance.

[*] Why this restriction in 2026?

Edit: Haiku’s SSO (at least when needed to log in to look at cgit.haiku-os.org, and Gerrit seem to have no issue with my user name being “OscarL”). I’ve seen Trac accept case-sensitive usernames as of late (wasn’t the case when I registered as “bipolar” back in 2006, or in 2004, where my original account comes from). Even GitHub allows me to use OscarL, so… where the heck is the hold out of requiring lowercase usernames?

Ahoy Alexander @kallisti5

This means all Haiku net services which can handle case sensitivity will be changed due to this tool that can’t handle it properly if they change to SSO too ?

I can accept that the login credential changes to all lowercase, but can we have something to split from displayed user name from login user ?
There are more services, where you login with email address, those possibly all only lower case IDs. I accepted on my gmail account I do not use our Hungarian accented characters, so is that a way to change all simple login accounts to deal with the e-mail addresses as login accont on the web services .. instead of a login user, and still use the good old member names within the web service itself ?
As I’ve seen the service we use to login already knows the mail addresses too, I assume the web services may can accept the ‘@’ character in the e-mail addreses. Or if too long just use that ID before that mail domain.
If it is splitted, even we can go into the web service, and name the displayed name instead the login name. This way it is not your task for do the likings as they would present themselves in a service. Moreover possibly one use one e-mail addresses for more Haiku accounts - so your user inventory can be more simple to keep and track it.

I can accept that way - as there I already have more Web account, where I login with e-mail address, but with different passwords.
That’s more convenient as I use only one e-mail account to login mainly.

How is about my offering to patch it ?

Can Trac and (and for possible future : Discourse) handle e-mail address as login ID besides the displayed account name ?
… even as plan text - without mail domain , if necessary ?

I have pending TRAC account actually … as I had KitsunePrefecture login ID everywhere at Haiku web services, and this was diplayed as well that way.

I would ask this, as I can wait if the e-mail address login + splitting login user and displayed user is possible.
I do not develop, and more tickets I opened not touched at all - so not urgent for me to have a working one.

Thank you for your reply -

:cowboy_hat_face:

I assume web services has no such lowercase rules generally, but some can have it.
if I remember well for to give up on HDS account that was one of the reason from my side, that from restriction the the lenght of the user name was increased, but not the case sensitivity.

I more frequently used the commandline for install, and with info feature I could read the details of a package, so I barely use Haikudepot for installing.

I assume the 3rd-party authentication might have such lacking of case sensitivity.
This way I offered to use the e-mail or IDs in e-mail addresses to use in 3rd-party authentication services for login account in Haiku web services and where applicable have a user name for displaying and working with it within the service itself as it was before.

As the e-mail addresses or mail user names are generally all lowercase then the 3rd-party should have no problem handle it as has no case sensitivity issue with them.
I assume all we have at least one e-mail address in that service under our accounts, so just must copied them with SQL commands can be done on the 3rd-party service with or without the mail domain.

If Trac and other Haiku services has module for splitting the login account authentication and still have the inner user remain within the service as it was before - then there is a resolution.

I assume Alexander would have been good apprentice for Alexander, the Great - as he seems also like rather cutting the Gordian’s knot … :wink:
It was mentioned that ..during the transition to SSO usage above .. there was a short paragraph on the Trac front page, that described that for how to ‘Logging in’ into Trac service, even linked the registration page.
It was just simply removed :smiley: :smiley: :smiley:
against that to be edited to what it changed and linked the SSO registration page :wink:

Now anyone willing to have an account just have to be smart and sharp in front of Trac wiki/ticketing tool … to look and see … and hopefully finding the login feature, just right under the search field, as “Login using Haiku SSO”.

:cowboy_hat_face:

Done.

Done

This is mostly a limitation in Trac. It is an extremely old codebase and tracks usernames via one big “change table”. It’s weird, and hard to wrangle. Identities are tied to usernames, and to fix it would mean us forking Trac and maintaining it while making substantial modification.

tldr; I’m doing the best I can with the limitations of being a single burnt-out person :laughing:

4 Likes

When you do have a free moment, can you check ‘us3r1d’?

I can SSO signin to Trac, but clicking signin on Gerrit gets me a “forbidden” page.

This is not a rush issue. :slight_smile:

Gerrit should be fixed now for you. I manually aligned it

OK, I accept that , Alexander, and then I give up on to keep all Haiku login account the same -

Please fix my Trac account to
kitsuneprefecture
as now the previous ‘KitsunePrefecture’ does not work on even Linux Mint,
where I was still logged in with old account and for some more days it had worked.

=======
Trac Error

The username ‘kitsuneprefecture’ supplied by your OpenID Connect provider matches the existing Trac account(s) ‘KitsunePrefecture’ except for upper/lower case. Trac usernames are case-sensitive, so a new account was not created. Please contact an administrator to rename the Trac account to ‘kitsuneprefecture’, or to change the username at your identity provider.

=====

Thank you for your answer and patience -

:cowboy_hat_face: