Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
ff1e7474
Commit
ff1e7474
authored
Apr 21, 2016
by
Andrew Collett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cas.md to reflect the current syntax, and added that gitlab-ctl reconfigure should be run.
parent
a5ed44fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
doc/integration/cas.md
doc/integration/cas.md
+11
-8
No files found.
doc/integration/cas.md
View file @
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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment