Update cas.md to reflect the current syntax, and added that gitlab-ctl reconfigure should be run.
This commit is contained in:
parent
a5ed44fd71
commit
ff1e7474ed
1 changed files with 11 additions and 8 deletions
|
@ -27,17 +27,18 @@ To enable the CAS OmniAuth provider you must register your application with your
|
|||
```ruby
|
||||
gitlab_rails['omniauth_providers'] = [
|
||||
{
|
||||
name: "cas3",
|
||||
label: "cas",
|
||||
args: {
|
||||
url: 'CAS_SERVER',
|
||||
login_url: '/CAS_PATH/login',
|
||||
service_validate_url: '/CAS_PATH/p3/serviceValidate',
|
||||
logout_url: '/CAS_PATH/logout'} }
|
||||
}
|
||||
"name"=> "cas3",
|
||||
"label"=> "cas",
|
||||
"args"=> {
|
||||
"url"=> 'CAS_SERVER',
|
||||
"login_url"=> '/CAS_PATH/login',
|
||||
"service_validate_url"=> '/CAS_PATH/p3/serviceValidate',
|
||||
"logout_url"=> '/CAS_PATH/logout'
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
For installations from source:
|
||||
|
||||
|
@ -57,6 +58,8 @@ To enable the CAS OmniAuth provider you must register your application with your
|
|||
|
||||
1. Save the configuration file.
|
||||
|
||||
1. Run `gitlab-ctl reconfigure` for the omnibus package.
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue