Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/integration/cas.md')
-rw-r--r--doc/integration/cas.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/integration/cas.md b/doc/integration/cas.md
index 4699f7147aa..9594836164a 100644
--- a/doc/integration/cas.md
+++ b/doc/integration/cas.md
@@ -37,14 +37,14 @@ configure CAS for back-channel logout.
```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: "Provider name", # optional label for login button, defaults to "Cas3"
+ args: {
+ url: "CAS_SERVER",
+ login_url: "/CAS_PATH/login",
+ service_validate_url: "/CAS_PATH/p3/serviceValidate",
+ logout_url: "/CAS_PATH/logout"
+ }
}
]
```
@@ -53,7 +53,7 @@ configure CAS for back-channel logout.
```yaml
- { name: 'cas3',
- label: 'cas',
+ label: 'Provider name', # optional label for login button, defaults to "Cas3"
args: {
url: 'CAS_SERVER',
login_url: '/CAS_PATH/login',