Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,045
Community Members
 
Community Events
176
Community Groups

sso for gitlab with crowd

I use crowd sever 3.7, gitlab CE 12.4

Now I want to integrate crowd with gitlab and be able to SSO

I configured an application in crowd


And modified the gitlab.rb file

The contents are as follows:

###! Docs: https://docs.gitlab.com/ee/integration/omniauth.html
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['crowd']
#gitlab_rails['omniauth_sync_email_from_provider'] = 'saml'
#gitlab_rails['omniauth_sync_profile_from_provider'] = ['crowd','saml']
#gitlab_rails['omniauth_sync_profile_attributes'] = ['crowd']
##gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'crowd'
gitlab_rails['omniauth_block_auto_created_users'] =false
#gitlab_rails['omniauth_auto_link_ldap_user'] = true
#gitlab_rails['omniauth_auto_link_saml_user'] = true
gitlab_rails['omniauth_external_providers'] = ['crowd']
# gitlab_rails['omniauth_allow_bypass_two_factor'] = ['google_oauth2']
# gitlab_rails['omniauth_providers'] = [
# {
# "name" => "google_oauth2",
# "app_id" => "YOUR APP ID",
# "app_secret" => "YOUR APP SECRET",
# "args" => { "access_type" => "offline", "approval_prompt" => "" }
# }
# ]


gitlab_rails['omniauth_providers'] = [
{
"name" => "crowd",
"args" => {
"crowd_server_url" => "http://localhost:8095/crowd",
"application_name" => "gitlab",
"application_password" => "gitlab"
}
}
]

 

Now you can login into gitlab with the account in crowd, but when I login into jira or crowd,I must login gitlab again

Who can tell me what else to configure?

 

1 answer

0 votes

Hi!

Looks like the situation related to the merging of CE and EE or token cleaning on Crowd side.

https://gitlab.com/gitlab-org/gitlab-foss/issues/28172

Could you check the tokenisation on debug mode on Crowd side, please? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events