Commit 9393d6b6 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'patch-2' into 'master'

Update cas.md to reflect the current syntax, and added that gitlab-ctl reconfigure should be run.

I spent a while trying to figure our why the cas wasn't working!

Someone may need to update the source code section of the wiki

See merge request !3850
parents 624dc104 ff1e7474
...@@ -27,17 +27,18 @@ To enable the CAS OmniAuth provider you must register your application with your ...@@ -27,17 +27,18 @@ To enable the CAS OmniAuth provider you must register your application with your
```ruby ```ruby
gitlab_rails['omniauth_providers'] = [ gitlab_rails['omniauth_providers'] = [
{ {
name: "cas3", "name"=> "cas3",
label: "cas", "label"=> "cas",
args: { "args"=> {
url: 'CAS_SERVER', "url"=> 'CAS_SERVER',
login_url: '/CAS_PATH/login', "login_url"=> '/CAS_PATH/login',
service_validate_url: '/CAS_PATH/p3/serviceValidate', "service_validate_url"=> '/CAS_PATH/p3/serviceValidate',
logout_url: '/CAS_PATH/logout'} } "logout_url"=> '/CAS_PATH/logout'
} }
} }
] ]
``` ```
For installations from source: For installations from source:
...@@ -57,6 +58,8 @@ To enable the CAS OmniAuth provider you must register your application with your ...@@ -57,6 +58,8 @@ To enable the CAS OmniAuth provider you must register your application with your
1. Save the configuration file. 1. Save the configuration file.
1. Run `gitlab-ctl reconfigure` for the omnibus package.
1. Restart GitLab for the changes to take effect. 1. Restart GitLab for the changes to take effect.
On the sign in page there should now be a CAS tab in the sign in form. On the sign in page there should now be a CAS tab in the sign in form.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment