Skip to content
Snippets Groups Projects
Commit 46448223 authored by Derek Lindahl's avatar Derek Lindahl
Browse files

Removed hash rockets

parent aeab99df
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ Use like any other OmniAuth strategy: ...@@ -30,7 +30,7 @@ Use like any other OmniAuth strategy:
```ruby ```ruby
Rails.application.config.middleware.use OmniAuth::Builder do Rails.application.config.middleware.use OmniAuth::Builder do
provider :cas, :host => 'cas.yourdomain.com' provider :cas, host: 'cas.yourdomain.com'
end end
``` ```
...@@ -55,15 +55,15 @@ Other configuration options: ...@@ -55,15 +55,15 @@ Other configuration options:
Given the following OA 0.3 configuration: Given the following OA 0.3 configuration:
```ruby ```ruby
provider :CAS, :cas_server => 'https://cas.example.com/cas/' provider :CAS, cas_server: 'https://cas.example.com/cas/'
``` ```
... your new settings should look similar to this: ... your new settings should look similar to this:
```ruby ```ruby
provider :cas, :host => 'cas.example.com', provider :cas, host: 'cas.example.com',
:login_url => '/cas/login', login_url: '/cas/login',
:service_validate_url => '/cas/serviceValidate' service_validate_url: '/cas/serviceValidate'
``` ```
If you encounter problems wih SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended). If you encounter problems wih SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment