Skip to content

Commit

Permalink
Merge pull request #6 from rbq/master
Browse files Browse the repository at this point in the history
Add a migration guide from OmniAuth 0.3
  • Loading branch information
dlindahl committed Nov 4, 2012
2 parents 6392698 + 91a11c1 commit ba147ed
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba147ed

Please sign in to comment.