Sha256: 748c31de689f97888456d8a13385017c09773c0cf7bcdffe8a78fc8e64210d09

Contents?: true

Size: 861 Bytes

Versions: 1

Compression:

Stored size: 861 Bytes

Contents

# OmniAuth Spotify OAuth2

[![Gem Version](https://badge.fury.io/rb/omniauth-spotify-oauth2.svg)](http://badge.fury.io/rb/omniauth-spotify-oauth2)

Strategy to authenticate [Spotify](https://www.spotify.com) in OmniAuth.

## Installation

OmniAuth Spotify OAuth2 is distributed as a gem, which is how it should be used in your app.

Include the gem in your Gemfile:

    gem 'omniauth-spotify-oauth2', '~> 1.0'

Integrate this strategy to your OmniAuth middleware.

```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
	provider :spotify, ENV['SPOTIFY_CLIENT_ID'], ENV['SPOTIFY_CLIENT_SECRET']
end
```

## Author

- [Jonathan Tribouharet](https://github.com/jonathantribouharet) ([@johntribouharet](https://twitter.com/johntribouharet))

## License

OmniAuth Spotify OAuth2 is released under the MIT license. See the LICENSE file for more info.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-spotify-oauth2-1.0.1 README.md