omniauth-ely/README.md

27 lines
629 B
Markdown
Raw Permalink Normal View History

2016-11-24 16:45:11 +05:30
# OmniAuth Ely.by
This is the official OmniAuth strategy for authenticating to Ely.by. To
use it, you'll need to sign up for an OAuth2 Application ID and Secret
2023-11-04 07:28:26 +05:30
on the [Ely.by Account Applications Page](https://account.ely.by/dev/applications).
2016-11-24 16:45:11 +05:30
## Usage
Add the strategy to your `Gemfile` alongside OmniAuth:
```ruby
gem 'omniauth'
gem 'omniauth-ely'
```
Integrate this strategy to your OmniAuth middleware.
```ruby
use OmniAuth::Builder do
provider :ely, 'application_id', 'secret'
end
```
You need to add your key and secret.
For more information check the [OmniAuth wiki](https://github.com/intridea/omniauth/wiki).