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

Merge pull request #6 from rbq/master

Add a migration guide from OmniAuth 0.3
parents 6392698d 91a11c10
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,24 @@ Other configuration options:
* `ca_path` - Optional when `ssl` is `true`. Sets path of a CA certification directory. See [Net::HTTP][net_http] for more details
* `disable_ssl_verification``- Optional when `ssl` is true. Disables verification.
## Migrating from OmniAuth 0.3
Given the following OA 0.3 configuration:
```
provider :CAS, :cas_server => 'https://cas.example.com/cas/'
```
... your new settings should look similar to this:
```
provider :cas, :host => 'cas.example.com',
:login_url => '/cas/login',
: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).
## Contributing
1. Fork it
......
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