2016-12-14 26 views
1

gitlabでSSOを使用しようとすると、以下のエラーが表示されます。 GitlabでOAuth2をどのように有効にしますか?GitLab Matter Most - Single Sign On broken

GitLab Mattermost needs your help: 

The system admin has turned off OAuth2 Service Provider. 
Go back to Mattermost 

マイ/etc/gitlab/gitlab.rbはこのようになります -

mattermost_external_url 'http://url/' 
mattermost['gitlab_enable'] = true 
mattermost['gitlab_id'] = "code123" 
mattermost['gitlab_secret'] = "code456" 
mattermost['gitlab_scope'] = "" 
mattermost['gitlab_auth_endpoint'] = "http://url/oauth/authorize" 
mattermost['gitlab_token_endpoint'] = "http://url/oauth/token" 
mattermost['gitlab_user_api_endpoint'] = "http://url/api/v3/user" 

答えて

0

私はmattermost['service_enable_oauth_service_provider'] = trueを有効にしますが、それは私に別のエラーを与えました。たぶんこれはあなたが必要とするすべてです。