Hi Brian, I'm having the exact same problem as you have/had. Did you find a solution for this in the end?
Regards, Rik On Friday, November 6, 2015 at 4:08:18 PM UTC+1, Brian O'Donnell wrote: > > Hi, > > I have GitLab 8.x configured for shibboleth authentication, and it works > great. The only issue is that I would like to control the auto-created > users' username. Presently it appears to generate them from whatever I set > the 'email' attribute to, but this must be a valid email address format. I > would like it to use HTTP_UID, but I cannot figure out how to do this. > > The relevant config from gitlab.rb looks like this: > > gitlab_rails['omniauth_enabled'] = true > gitlab_rails['omniauth_allow_single_sign_on'] = true > gitlab_rails['omniauth_block_auto_created_users'] = false > gitlab_rails['omniauth_providers'] = [ > { > "name" => 'shibboleth', > "args" => { > "shib_session_id_field" => "HTTP_SHIB_SESSION_ID", > "shib_application_id_field" => "HTTP_SHIB_APPLICATION_ID", > "uid_field" => "HTTP_UID", > "name_field" => "HTTP_CN", > "info_fields" => { > "email" => "HTTP_MAIL", > }, > }, > "label" => "foo" > } > ] > > Thanks! > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/53dbebce-86c8-4d54-91f9-48dcdf8a707f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.