Hello, I'm trying to integrate Shibboleth 8.0.3 with gitlab. Authentication works but when I try to register a new user i get an errore the says the the email is not whitelisted. Checked in my admin page and the email is whitelisted.
ApplicationSetting Load (0.4ms) SELECT "application_settings".* FROM "application_settings" ORDER BY "application_settings"."id" DESC LIMIT 1 (0.1ms) BEGIN (0.1ms) ROLLBACK Identity Load (0.5ms) SELECT "identities".* FROM "identities" WHERE "identities"."provider" = 'shibboleth' AND "identities"."extern_uid" = 'cuclabt...@xxxxxxx.xxx' ORDER BY "identities"."created_at" DESC, "identities"."id" DESC LIMIT 1 Namespace Load (0.5ms) SELECT "namespaces".* FROM "namespaces" WHERE (lower(path) = 'blank' OR lower(name) = 'blank') ORDER BY "namespaces"."created_at" DESC, "namespaces"."id" DESC LIMIT 1 (0.2ms) BEGIN (0.1ms) ROLLBACK Redirected to https://gitlab.inf.unibz.it/users/auth/shibboleth/omniauth_error?error=email+is+not+whitelisted.+Email+domains+valid+for+registration+are%3A+unibz.it Completed 302 Found in 105ms (ActiveRecord: 2.8ms) Started GET "/users/auth/shibboleth/omniauth_error?error=email+is+not+whitelisted.+Email+domains+valid+for+registration+are%3A+xxxxxxx.xxx'" for 127.0.0.1 at 2015-10-16 10:42:48 +0200 Processing by OmniauthCallbacksController#omniauth_error as HTML Parameters: {"error"=>"email is not whitelisted. Email domains valid for registration are: xxxxxxx.xxx'", "provider"=>"shibboleth"} ApplicationSetting Load (0.4ms) SELECT "application_settings".* FROM "application_settings" ORDER BY "application_settings"."id" DESC LIMIT 1 (0.1ms) BEGIN (0.1ms) ROLLBACK Completed 422 Unprocessable Entity in 22ms (Views: 4.9ms | ActiveRecord: 1.5ms) If I try to remove the whitelisting I get another error: Sign-in failed because email can't be blank, email can't be blank, email is invalid, name can't be blank, notification_email can't be blank, notification_email is invalid. so it seems that the omniauth module is not passing the required fields to gitlab. Omniauth itself gets the user data, i see it in this query: Identity Load (0.5ms) SELECT "identities".* FROM "identities" WHERE "identities"."provider" = 'shibboleth' AND "identities"."extern_uid" = 'cuclabt...@xxxxxxx.xxx' ORDER BY "identities"."created_at" DESC, "identities"."id" DESC LIMIT 1 Any idea? Cristiano -- 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/5f96682e-264b-4daa-9b3d-e743a4ffe5a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.